Truly independent web browser
LibWeb: Add the lower-latin and upper-latin counter styles
sideshowbarker69dafa7efe12
diff --git a/Libraries/LibWeb/CSS/Default.css b/Libraries/LibWeb/CSS/Default.cssindex 29c373c5848..02871057964 100644--- a/Libraries/LibWeb/CSS/Default.css+++ b/Libraries/LibWeb/CSS/Default.css@@ -1913,12 +1913,20 @@ iframe:fullscreen {/* symbols: 'a' 'b' 'c' 'd' 'e' 'f' 'g' 'h' 'i' 'j' 'k' 'l' 'm' 'n' 'o' 'p' 'q' 'r' 's' 't' 'u' 'v' 'w' 'x' 'y' 'z'; */}+@counter-style lower-latin {+ system: extends lower-alpha;+}+@counter-style upper-alpha {system: alphabetic;symbols: '\41' '\42' '\43' '\44' '\45' '\46' '\47' '\48' '\49' '\4A' '\4B' '\4C' '\4D' '\4E' '\4F' '\50' '\51' '\52' '\53' '\54' '\55' '\56' '\57' '\58' '\59' '\5A';/* symbols: 'A' 'B' 'C' 'D' 'E' 'F' 'G' 'H' 'I' 'J' 'K' 'L' 'M' 'N' 'O' 'P' 'Q' 'R' 'S' 'T' 'U' 'V' 'W' 'X' 'Y' 'Z'; */}+@counter-style upper-latin {+ system: extends upper-alpha;+}+@counter-style fullwidth-lower-alpha {system: alphabetic;symbols: '\FF41' '\FF42' '\FF43' '\FF44' '\FF45' '\FF46' '\FF47' '\FF48' '\FF49' '\FF4A' '\FF4B' '\FF4C' '\FF4D' '\FF4E' '\FF4F' '\FF50' '\FF51' '\FF52' '\FF53' '\FF54' '\FF55' '\FF56' '\FF57' '\FF58' '\FF59' '\FF5A';diff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/css-lists/content-property/marker-text-matches-lower-latin-ref.html b/Tests/LibWeb/Ref/expected/wpt-import/css/css-lists/content-property/marker-text-matches-lower-latin-ref.htmlnew file mode 100644index 00000000000..b86fe8ecf59--- /dev/null+++ b/Tests/LibWeb/Ref/expected/wpt-import/css/css-lists/content-property/marker-text-matches-lower-latin-ref.html@@ -0,0 +1,9 @@+<!doctype html>+<title>Reference: Inside list marker and normal text render identically: lower-latin</title>+<style>+* {+ margin: 0;+ padding: 0;+}+</style>+<p>a. Filler Textdiff --git a/Tests/LibWeb/Ref/expected/wpt-import/css/css-lists/content-property/marker-text-matches-upper-latin-ref.html b/Tests/LibWeb/Ref/expected/wpt-import/css/css-lists/content-property/marker-text-matches-upper-latin-ref.htmlnew file mode 100644index 00000000000..6cbb712e76b--- /dev/null+++ b/Tests/LibWeb/Ref/expected/wpt-import/css/css-lists/content-property/marker-text-matches-upper-latin-ref.html@@ -0,0 +1,9 @@+<!doctype html>+<title>Reference: Inside list marker and normal text render identically: upper-latin</title>+<style>+* {+ margin: 0;+ padding: 0;+}+</style>+<p>A. Filler Textdiff --git a/Tests/LibWeb/Ref/input/wpt-import/css/css-lists/content-property/marker-text-matches-lower-latin.html b/Tests/LibWeb/Ref/input/wpt-import/css/css-lists/content-property/marker-text-matches-lower-latin.htmlnew file mode 100644index 00000000000..7bbb2782a50--- /dev/null+++ b/Tests/LibWeb/Ref/input/wpt-import/css/css-lists/content-property/marker-text-matches-lower-latin.html@@ -0,0 +1,18 @@+<!doctype html>+<title>Inside list marker and normal text render identically: lower-latin</title>+<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">+<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">+<link rel=match href="../../../../../expected/wpt-import/css/css-lists/content-property/marker-text-matches-lower-latin-ref.html">+<style>+* {+ padding: 0;+ margin: 0;+}+ol {+ list-style: lower-latin inside;+}+</style>++<ol>+ <li>Filler Text</li>+</ol>diff --git a/Tests/LibWeb/Ref/input/wpt-import/css/css-lists/content-property/marker-text-matches-upper-latin.html b/Tests/LibWeb/Ref/input/wpt-import/css/css-lists/content-property/marker-text-matches-upper-latin.htmlnew file mode 100644index 00000000000..535ea5436fa--- /dev/null+++ b/Tests/LibWeb/Ref/input/wpt-import/css/css-lists/content-property/marker-text-matches-upper-latin.html@@ -0,0 +1,18 @@+<!doctype html>+<title>Inside list marker and normal text render identically: upper-latin</title>+<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">+<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">+<link rel=match href="../../../../../expected/wpt-import/css/css-lists/content-property/marker-text-matches-upper-latin-ref.html">+<style>+* {+ padding: 0;+ margin: 0;+}+ol {+ list-style: upper-latin inside;+}+</style>++<ol>+ <li>Filler Text</li>+</ol>