Bug 1643246 - Don't use attribute selectors for determining if a select is a drop...
commit82b32f112ec0d24fa7afab1e33ec38cfce4f0e9c
authorCameron McCormack <cam@mcc.id.au>
Fri, 17 Jul 2020 09:56:53 +0000 (17 09:56 +0000)
committerCameron McCormack <cam@mcc.id.au>
Fri, 17 Jul 2020 09:56:53 +0000 (17 09:56 +0000)
tree4dad9125ccef11821a90fe99bd6d1c55ff4869fc
parent24d2a262125f68eba4e285425885e2eeacd46674
Bug 1643246 - Don't use attribute selectors for determining if a select is a drop down or a list box. r=emilio

Instead add a pseudo-class that does the expected size="" attribute parsing.

Removing the Gtk-specific rule setting the text color since it doesn't
seem to have any effect currently.

Differential Revision: https://phabricator.services.mozilla.com/D83448
layout/base/RestyleManager.cpp
layout/style/GeckoBindings.cpp
layout/style/GeckoBindings.h
layout/style/ServoElementSnapshot.cpp
layout/style/ServoElementSnapshot.h
layout/style/res/forms.css
servo/components/style/gecko/non_ts_pseudo_class_list.rs
servo/components/style/gecko/wrapper.rs
servo/components/style/invalidation/element/element_wrapper.rs
servo/components/style/invalidation/element/invalidation_map.rs