-
-
Notifications
You must be signed in to change notification settings - Fork 995
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LibWeb: Layout the fieldset's rendered legend #2546
base: master
Are you sure you want to change the base?
LibWeb: Layout the fieldset's rendered legend #2546
Conversation
822d9fd
to
c51aba1
Compare
I've not looked at the code, but this causes regressions in the following WPT tests:
And fixes a failing subtest in this test:: It might be worth importing the improved test. |
Thanks for catching that out, I’ll have a look at those regressions then and see what’s going on. I’ll import the fixed test. |
b190b04
to
9306428
Compare
@tcl3 Update on the WPT tests. I've imported the passing test and I've worked through the first three.
However the last two are how the newly positioned Please see images for the http://wpt.live/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-transform-translatez.html test below: It looks like we were initially passing because we just didn't position the legend correctly at all. However, I can't find anywhere in the spec on It would be good if somebody could suggest what we do in this case? |
(commit message: "Layout" is a noun, "Lay out" is the verb.) |
That it is, I will update. |
9306428
to
a078a48
Compare
I've asked the discord but haven't got a response. I am wary to start implementing any feature (removing the legend from the clipped area) that isn't covered by the spec, as I've been told in the past that we should match reality and not just try pass wpt tests :^). What is the ways forward here? |
This fixes the legend position on my website :^) https://kostyafarber.com/about
with change:
without change: