Permalink
Browse files

Revamp how fieldset and legend rendering is defined

Properly define the rendering of the fieldset and legend elements.

The layout model used is most similar to Gecko, which uses an anonymous box to hold the fieldset's contents.

Fixes #3955, fixes #3930, fixes #3929, fixes #3928, fixes #3927, fixes #3915, fixes #3913, fixes #3660, fixes #3331, fixes #2756, fixes #4013.

Tests:
https://github.com/web-platform-tests/wpt/tree/master/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements
https://github.com/web-platform-tests/wpt/tree/master/html/semantics/forms/the-fieldset-element
  • Loading branch information...
zcorpan committed Sep 19, 2018
1 parent 31c0db3 commit 6fbb7ff8fbe1c76506145ba8ffce690224be66e0
Showing with 328 additions and 41 deletions.
  1. +328 −41 source
Oops, something went wrong.

0 comments on commit 6fbb7ff

Please sign in to comment.