diff --git a/layout/reftests/forms/input/range/reftest.list b/layout/reftests/forms/input/range/reftest.list index 886eddcac36db..48a1a3fcf0904 100644 --- a/layout/reftests/forms/input/range/reftest.list +++ b/layout/reftests/forms/input/range/reftest.list @@ -1002,57 +1002,3 @@ rendering ref . html -test -- -pref -( -layout -. -css -. -webkit -- -range -- -pseudos -. -enabled -true -) -= -= -webkit -. -html -webkit -- -ref -. -html -test -- -pref -( -layout -. -css -. -webkit -- -range -- -pseudos -. -enabled -true -) -! -= -webkit -. -html -webkit -- -notref -. -html diff --git a/layout/reftests/forms/input/range/webkit-notref.html b/layout/reftests/forms/input/range/webkit-notref.html deleted file mode 100644 index 58337621bb2cf..0000000000000 --- a/layout/reftests/forms/input/range/webkit-notref.html +++ /dev/null @@ -1,11 +0,0 @@ -< -! -doctype -html -> -< -input -type -= -range -> diff --git a/layout/reftests/forms/input/range/webkit-ref.html b/layout/reftests/forms/input/range/webkit-ref.html deleted file mode 100644 index bdf5508ae6606..0000000000000 --- a/layout/reftests/forms/input/range/webkit-ref.html +++ /dev/null @@ -1,48 +0,0 @@ -< -! -doctype -html -> -< -style -> -input -: -: -- -moz -- -range -- -thumb -{ -background -: -blue -; -} -input -: -: -- -moz -- -range -- -track -{ -background -: -green -; -} -< -/ -style -> -< -input -type -= -range -> diff --git a/layout/reftests/forms/input/range/webkit.html b/layout/reftests/forms/input/range/webkit.html deleted file mode 100644 index c8f74990eea49..0000000000000 --- a/layout/reftests/forms/input/range/webkit.html +++ /dev/null @@ -1,50 +0,0 @@ -< -! -doctype -html -> -< -style -> -input -: -: -- -webkit -- -slider -- -thumb -{ -background -: -blue -; -} -input -: -: -- -webkit -- -slider -- -runnable -- -track -{ -background -: -green -; -} -< -/ -style -> -< -input -type -= -range -> diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml index d6300a9500c6c..5727446d8fd4b 100644 --- a/modules/libpref/init/StaticPrefList.yaml +++ b/modules/libpref/init/StaticPrefList.yaml @@ -56399,44 +56399,6 @@ mirror always # Is -support -for -- -webkit -- -slider -* -pseudos -enabled -? -- -name -: -layout -. -css -. -webkit -- -range -- -pseudos -. -enabled -type -: -RelaxedAtomicBool -value -: -false -mirror -: -always -rust -: -true -# -Is ' content : diff --git a/servo/components/style/gecko/pseudo_element_definition.mako.rs b/servo/components/style/gecko/pseudo_element_definition.mako.rs index 541367bf3a968..6143f14f1a034 100644 --- a/servo/components/style/gecko/pseudo_element_definition.mako.rs +++ b/servo/components/style/gecko/pseudo_element_definition.mako.rs @@ -1,110 +1,3 @@ -/ -* -This -Source -Code -Form -is -subject -to -the -terms -of -the -Mozilla -Public -* -License -v -. -2 -. -0 -. -If -a -copy -of -the -MPL -was -not -distributed -with -this -* -file -You -can -obtain -one -at -https -: -/ -/ -mozilla -. -org -/ -MPL -/ -2 -. -0 -/ -. -* -/ -/ -/ -/ -Gecko -' -s -pseudo -- -element -definition -. -/ -/ -/ -/ -/ -/ -We -intentionally -double -- -box -legacy -: -: -- -moz -- -tree -pseudo -- -elements -to -keep -the -/ -/ -/ -size -of -PseudoElement -( -and -thus -selector -components -) -small -. # [ derive @@ -128,14 +21,6 @@ pseudo in PSEUDOS : -/ -/ -/ -{ -pseudo -. -value -} % if pseudo @@ -195,68 +80,11 @@ capitalized_pseudo endif % endfor -/ -/ -/ -: -: -- -webkit -- -* -that -we -don -' -t -recognize -/ -/ -/ -https -: -/ -/ -github -. -com -/ -whatwg -/ -compat -/ -issues -/ -103 UnknownWebkit ( Atom ) } -/ -/ -/ -Important -: -If -you -change -this -you -should -also -update -Gecko -' -s -/ -/ -/ -nsCSSPseudoElements -: -: -IsEagerlyCascadedInServo -. < % EAGER_PSEUDOS @@ -315,17 +143,6 @@ is_simple_pseudo_element ] % > -/ -/ -/ -The -number -of -eager -pseudo -- -elements -. pub const EAGER_PSEUDO_COUNT @@ -339,19 +156,6 @@ EAGER_PSEUDOS ) } ; -/ -/ -/ -The -number -of -non -- -functional -pseudo -- -elements -. pub const SIMPLE_PSEUDO_COUNT @@ -365,17 +169,6 @@ SIMPLE_PSEUDOS ) } ; -/ -/ -/ -The -number -of -tree -pseudo -- -elements -. pub const TREE_PSEUDO_COUNT @@ -389,17 +182,6 @@ TREE_PSEUDOS ) } ; -/ -/ -/ -The -number -of -all -pseudo -- -elements -. pub const PSEUDO_COUNT @@ -413,15 +195,6 @@ PSEUDOS ) } ; -/ -/ -/ -The -list -of -eager -pseudos -. pub const EAGER_PSEUDOS @@ -510,18 +283,6 @@ def impl PseudoElement { -/ -/ -/ -Returns -an -index -of -the -pseudo -- -element -. # [ inline @@ -580,36 +341,6 @@ unreachable ) } } -/ -/ -/ -Returns -an -array -of -None -values -. -/ -/ -/ -/ -/ -/ -FIXME -( -emilio -) -: -Integer -generics -can -' -t -come -soon -enough -. pub fn pseudo_none_array @@ -651,19 +382,6 @@ PSEUDOS } ] } -/ -/ -/ -Whether -this -pseudo -- -element -is -an -anonymous -box -. # [ inline @@ -716,19 +434,6 @@ _ false } } -/ -/ -/ -Whether -this -pseudo -- -element -is -eagerly -- -cascaded -. # [ inline @@ -779,20 +484,6 @@ EAGER_PSEUDOS } ) } -/ -/ -/ -Whether -this -pseudo -- -element -is -tree -pseudo -- -element -. # [ inline @@ -835,24 +526,6 @@ _ false } } -/ -/ -/ -Whether -this -pseudo -- -element -is -an -unknown -Webkit -- -prefixed -pseudo -- -element -. # [ inline @@ -883,31 +556,6 @@ UnknownWebkit ) ) } -/ -/ -/ -Gets -the -flags -associated -to -this -pseudo -- -element -or -0 -if -it -' -s -an -/ -/ -/ -anonymous -box -. pub fn flags @@ -990,18 +638,6 @@ UnknownWebkit 0 } } -/ -/ -/ -Construct -a -pseudo -- -element -from -a -PseudoStyleType -. # [ inline @@ -1117,17 +753,6 @@ _ None } } -/ -/ -/ -Construct -a -PseudoStyleType -from -a -pseudo -- -element # [ inline @@ -1259,20 +884,6 @@ unreachable ) } } -/ -/ -/ -Get -the -argument -list -of -a -tree -pseudo -- -element -. # [ inline @@ -1333,20 +944,6 @@ _ None } } -/ -/ -/ -Construct -a -tree -pseudo -- -element -from -atom -and -args -. # [ inline @@ -1435,37 +1032,6 @@ endif endfor None } -/ -/ -/ -Constructs -a -pseudo -- -element -from -a -string -of -text -. -/ -/ -/ -/ -/ -/ -Returns -None -if -the -pseudo -- -element -is -not -recognised -. # [ inline @@ -1489,37 +1055,6 @@ Option Self > { -/ -/ -We -don -' -t -need -to -support -tree -pseudos -because -functional -/ -/ -pseudo -- -elements -needs -arguments -and -thus -should -be -created -/ -/ -via -other -methods -. match_ignore_ascii_case ! { @@ -1640,107 +1175,6 @@ Marker ) ; } -/ -/ -Compat -aliases -for -some -: -: -- -webkit -- -pseudo -- -elements -. -" -- -webkit -- -slider -- -runnable -- -track -" -if -static_prefs -: -: -pref -! -( -" -layout -. -css -. -webkit -- -range -- -pseudos -. -enabled -" -) -= -> -{ -return -Some -( -PseudoElement -: -: -MozRangeTrack -) -; -} -" -- -webkit -- -slider -- -thumb -" -if -static_prefs -: -: -pref -! -( -" -layout -. -css -. -webkit -- -range -- -pseudos -. -enabled -" -) -= -> -{ -return -Some -( -PseudoElement -: -: -MozRangeThumb -) -; -} _ = > @@ -1834,56 +1268,6 @@ into } None } -/ -/ -/ -Constructs -a -tree -pseudo -- -element -from -the -given -name -and -arguments -. -/ -/ -/ -" -name -" -must -start -with -" -- -moz -- -tree -- -" -. -/ -/ -/ -/ -/ -/ -Returns -None -if -the -pseudo -- -element -is -not -recognized -. # [ inline