Changeset 282442 in webkit
- Timestamp:
- Sep 15, 2021 12:19:07 AM (10 months ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
fast/css/font-face-src-parsing-expected.txt (modified) (2 diffs)
-
fast/css/font-face-src-parsing.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r282441 r282442 1 2021-09-15 Myles C. Maxfield <mmaxfield@apple.com> 2 3 CSSFontFaceSrcValue.cssText should be quoted consistently with other browsers 4 https://bugs.webkit.org/show_bug.cgi?id=230273 5 6 Reviewed by Darin Adler. 7 8 Addressing post-review comments. 9 10 * fast/css/font-face-src-parsing-expected.txt: 11 * fast/css/font-face-src-parsing.html: 12 1 13 2021-09-14 Simon Fraser <simon.fraser@apple.com> 2 14 -
trunk/LayoutTests/fast/css/font-face-src-parsing-expected.txt
r282415 r282442 1 1 Test parsing the src descriptor of @font-face. 2 2 3 Valid rules f orm the stylesheet:3 Valid rules from the stylesheet: 4 4 5 5 @font-face { src: url("font.ttf"); } … … 15 15 @font-face { src: local("foo"); } 16 16 @font-face { src: local("foo bar"); } 17 Expected result for valid rules: 18 19 @font-face { src: url(font.ttf); } 20 @font-face { src: url(http://foo/bar/font.ttf); } 21 @font-face { src: url(font.svg#id); } 22 @font-face { src: url(font.ttf) format(truetype); } 23 @font-face { src: url(font.woff) format(woff), local(font2); } 24 @font-face { src: url(font2.ttf); } 25 @font-face { src: url(font2.ttf) format(truetype); } 26 @font-face { src: url(font3.otf) format(opentype), local(foo bar); } 27 @font-face { src: local(foo); } 28 @font-face { src: local(font), local(foo bar); } 29 @font-face { src: local(foo); } 30 @font-face { src: local(foo bar); } 31 Invalid rules form the stylesheet: 32 33 @font-face { } 34 @font-face { } 35 @font-face { } 36 @font-face { } 37 @font-face { } 38 @font-face { } 39 @font-face { } 40 @font-face { } 41 Expected result for invalid rules: 17 Invalid rules from the stylesheet: 42 18 43 19 @font-face { } -
trunk/LayoutTests/fast/css/font-face-src-parsing.html
r120683 r282442 69 69 <p>Test parsing the src descriptor of @font-face.</p> 70 70 71 <p>Valid rules f orm the stylesheet:</p>71 <p>Valid rules from the stylesheet:</p> 72 72 <div id="validResult"></div> 73 73 74 <p>Expected result for valid rules:</p> 75 <pre id="validExpected">@font-face { src: url(font.ttf); } 76 @font-face { src: url(http://foo/bar/font.ttf); } 77 @font-face { src: url(font.svg#id); } 78 @font-face { src: url(font.ttf) format(truetype); } 79 @font-face { src: url(font.woff) format(woff), local(font2); } 80 @font-face { src: url(font2.ttf); } 81 @font-face { src: url(font2.ttf) format(truetype); } 82 @font-face { src: url(font3.otf) format(opentype), local(foo bar); } 83 @font-face { src: local(foo); } 84 @font-face { src: local(font), local(foo bar); } 85 @font-face { src: local(foo); } 86 @font-face { src: local(foo bar); } 87 </pre> 88 89 <p>Invalid rules form the stylesheet:</p> 74 <p>Invalid rules from the stylesheet:</p> 90 75 <pre id="invalidResult"></pre> 91 92 <p>Expected result for invalid rules:</p>93 <pre id="invalidExpected">@font-face { }94 @font-face { }95 @font-face { }96 @font-face { }97 @font-face { }98 @font-face { }99 @font-face { }100 @font-face { }101 </pre>102 76 103 77 <script>
Note: See TracChangeset
for help on using the changeset viewer.