WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
189304
<legend align> should not map to text-align
https://bugs.webkit.org/show_bug.cgi?id=189304
Summary
<legend align> should not map to text-align
Simon Pieters (:zcorpan)
Reported
2018-09-05 06:38:05 PDT
See discussion in
https://bugzilla.mozilla.org/show_bug.cgi?id=1488228
Spec change:
https://github.com/whatwg/html/pull/3934/commits/4363a9406003c7e525453eaf5e2ddca9b222bd04
Test:
https://github.com/web-platform-tests/wpt/pull/12811
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-09-23 06:11:33 PDT
Safari Technology Preview 154 is still failing: Live Test Link -
http://wpt.live/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-align-text-align.html
Live Test Link -
http://wpt.live/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-align.html
______
https://wpt.fyi/results/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements?label=master&label=experimental&aligned&view=subtest&q=legend-align.html
https://wpt.fyi/results/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements?label=master&label=experimental&aligned&view=subtest&q=legend-align-text-align
Ahmad Saleem
Comment 2
2023-01-13 04:20:07 PST
(In reply to Ahmad Saleem from
comment #1
)
> Safari Technology Preview 154 is still failing: > > Live Test Link - >
http://wpt.live/html/rendering/non-replaced-elements/the-fieldset-and-legend
- > elements/legend-align-text-align.html > > Live Test Link - >
http://wpt.live/html/rendering/non-replaced-elements/the-fieldset-and-legend
- > elements/legend-align.html > > ______ > >
https://wpt.fyi/results/html/rendering/non-replaced-elements/the-fieldset
- > and-legend- > elements?label=master&label=experimental&aligned&view=subtest&q=legend-align. > html > >
https://wpt.fyi/results/html/rendering/non-replaced-elements/the-fieldset
- > and-legend- > elements?label=master&label=experimental&aligned&view=subtest&q=legend-align- > text-align
Does by adding these UA Stylesheet rules, which we are missing, will fix these:
https://html.spec.whatwg.org/multipage/rendering.html#the-fieldset-and-legend-elements
``` legend[align=left i] { justify-self: left; } legend[align=center i] { justify-self: center; } legend[align=right i] { justify-self: right; } ```
https://github.com/WebKit/WebKit/blob/main/Source/WebCore/css/html.css#L380
Ahmad Saleem
Comment 3
2025-03-01 01:41:39 PST
***
Bug 264676
has been marked as a duplicate of this bug. ***
Brent Fulgham
Comment 4
2025-05-16 16:07:03 PDT
<
rdar://problem/118602283
>
Radar WebKit Bug Importer
Comment 5
2025-05-16 16:07:24 PDT
<
rdar://problem/151492945
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug