Skip to content

Commit 02907bc

Browse files
committed
Bug 1966700 [wpt PR 52568] - Enable some WPT tests depending on CSSTest fonts,
Automatic update from web-platform-tests Enable some WPT tests depending on CSSTest fonts https://crrev.com/c/6512831 added the CSSTest fonts to test_fonts, so we can now enable some tests that depend on them on Linux (the only platform where test_fonts are loaded). Bug: 412384635 Change-Id: Iaf36e6dcf3249c9bbe3fc9bfda1135c44780a7ab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6476224 Reviewed-by: Dominik Röttsches <drottchromium.org> Commit-Queue: Dominik Röttsches <drottchromium.org> Auto-Submit: Max Ihlenfeldt <maxigalia.com> Cr-Commit-Position: refs/heads/main{#1460718} -- wpt-commits: 542ce5d49d33df06e8e1ab929359568c469e983c wpt-pr: 52568 Differential Revision: https://phabricator.services.mozilla.com/D250629 UltraBlame original commit: bc9ed28eacee5c05c6823c5ce06301babb39fc8d
1 parent 728ec4e commit 02907bc

File tree

6 files changed

+470
-156
lines changed

6 files changed

+470
-156
lines changed

testing/web-platform/tests/css/css-fonts/font-family-name-000.xht

Lines changed: 49 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Test
7575
:
7676
Test
7777
for
78-
prescense
78+
presence
7979
of
8080
test
8181
fonts
@@ -221,6 +221,28 @@ prop
221221
/
222222
>
223223
<
224+
link
225+
rel
226+
=
227+
"
228+
match
229+
"
230+
href
231+
=
232+
"
233+
font
234+
-
235+
family
236+
-
237+
name
238+
-
239+
ref
240+
.
241+
xht
242+
"
243+
/
244+
>
245+
<
224246
meta
225247
name
226248
=
@@ -252,7 +274,28 @@ text
252274
css
253275
"
254276
>
255-
div
277+
body
278+
{
279+
font
280+
-
281+
size
282+
:
283+
36px
284+
;
285+
}
286+
span
287+
#
288+
verify
289+
{
290+
font
291+
-
292+
family
293+
:
294+
CSSTest
295+
Verify
296+
;
297+
}
298+
p
256299
#
257300
test1
258301
{
@@ -264,7 +307,7 @@ CSSTest
264307
Verify
265308
;
266309
}
267-
div
310+
p
268311
#
269312
test2
270313
{
@@ -362,40 +405,6 @@ div
362405
>
363406
<
364407
p
365-
>
366-
Test
367-
passes
368-
if
369-
FAIL
370-
does
371-
not
372-
appear
373-
below
374-
.
375-
<
376-
/
377-
p
378-
>
379-
<
380-
p
381-
>
382-
Prerequisites
383-
:
384-
these
385-
tests
386-
require
387-
that
388-
CSSTest
389-
fonts
390-
be
391-
installed
392-
.
393-
<
394-
/
395-
p
396-
>
397-
<
398-
div
399408
id
400409
=
401410
"
@@ -405,10 +414,10 @@ test1
405414
FAIL
406415
<
407416
/
408-
div
417+
p
409418
>
410419
<
411-
div
420+
p
412421
id
413422
=
414423
"
@@ -418,7 +427,7 @@ test2
418427
FAIL
419428
<
420429
/
421-
div
430+
p
422431
>
423432
<
424433
/

testing/web-platform/tests/css/css-fonts/font-family-name-024.xht

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,22 @@ size
293293
:
294294
36px
295295
;
296+
/
297+
*
298+
prevent
299+
scrollbar
300+
because
301+
of
302+
visually
303+
empty
304+
paragraph
305+
elements
306+
*
307+
/
308+
overflow
309+
:
310+
hidden
311+
;
296312
}
297313
span
298314
#
Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
<
2+
!
3+
DOCTYPE
4+
html
5+
>
6+
<
7+
html
8+
>
9+
<
10+
head
11+
>
12+
<
13+
title
14+
>
15+
CSS
16+
Test
17+
:
18+
Test
19+
for
20+
synthetic
21+
bold
22+
rendering
23+
<
24+
/
25+
title
26+
>
27+
<
28+
style
29+
type
30+
=
31+
"
32+
text
33+
/
34+
css
35+
"
36+
>
37+
div
38+
{
39+
font
40+
-
41+
size
42+
:
43+
36px
44+
;
45+
font
46+
-
47+
family
48+
:
49+
"
50+
CSSTest
51+
Verify
52+
"
53+
;
54+
}
55+
<
56+
/
57+
style
58+
>
59+
<
60+
/
61+
head
62+
>
63+
<
64+
body
65+
>
66+
<
67+
div
68+
>
69+
<
70+
a
71+
href
72+
=
73+
"
74+
http
75+
:
76+
/
77+
/
78+
www
79+
.
80+
w3
81+
.
82+
org
83+
/
84+
Style
85+
/
86+
CSS
87+
/
88+
Test
89+
/
90+
Fonts
91+
/
92+
"
93+
>
94+
Test
95+
fonts
96+
<
97+
/
98+
a
99+
>
100+
must
101+
be
102+
installed
103+
for
104+
this
105+
test
106+
:
107+
PASS
108+
<
109+
/
110+
div
111+
>
112+
<
113+
p
114+
>
115+
Browser
116+
supports
117+
synthetic
118+
bolding
119+
if
120+
PASS
121+
appears
122+
on
123+
both
124+
lines
125+
and
126+
the
127+
second
128+
line
129+
appears
130+
bolder
131+
:
132+
<
133+
/
134+
p
135+
>
136+
<
137+
div
138+
>
139+
PASS
140+
<
141+
/
142+
div
143+
>
144+
<
145+
div
146+
>
147+
PASS
148+
<
149+
/
150+
div
151+
>
152+
<
153+
/
154+
body
155+
>
156+
<
157+
/
158+
html
159+
>

0 commit comments

Comments
 (0)