Closed
Bug 1499230
Opened 6 years ago
Closed 6 years ago
Inline-size is too wide for empty <select> lists compared to other UAs
Categories
(Core :: Layout: Form Controls, enhancement, P4)
Core
Layout: Form Controls
Tracking
()
RESOLVED
FIXED
mozilla64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)
References
Details
(Keywords: testcase)
Attachments
(2 files, 1 obsolete file)
1.79 KB,
text/html
|
Details | |
6.13 KB,
patch
|
emilio
:
review+
|
Details | Diff | Splinter Review |
Edge and Chrome renders the testcase as expected: the <select>
content-box width appears to be zero in all cases.
I tend to think we should follow their example.
(Safari renders the first row a bit like us, but fails
completely in the 2nd row)
Note, you need the fix in bug 1499127 for the height
to be correct in the first row.
Assignee | ||
Comment 1•6 years ago
|
||
Attachment #9017351 -
Attachment is obsolete: true
Assignee | ||
Comment 2•6 years ago
|
||
Assignee: nobody → mats
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
This patch also makes the reference for the test added in bug 1499127
render correctly, so we can enable that test now.
Attachment #9018033 -
Flags: review?(emilio)
Comment 5•6 years ago
|
||
Comment on attachment 9018033 [details] [diff] [review]
Make empty <select>s have zero content-box inline-size, like in other UAs
Review of attachment 9018033 [details] [diff] [review]:
-----------------------------------------------------------------
So, this looks like it was introduced initially in:
https://github.com/mozilla/gecko-dev/commit/e5db62821d3cc51cc603683095279e697f1982b4
which has no bug number or anything else
Then changed to two X in:
https://github.com/mozilla/gecko-dev/commit/702462fbfe83be16edb7737a4c1f68bcebca5672
Which is bug 28593...
Then Boris actually changed it for the :empty rule we have today.
Anyway, this looks fine to me, thanks!
Attachment #9018033 -
Flags: review?(emilio) → review+
Pushed by mpalmgren@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a9b1d69e379a
Make empty <select>s have zero content-box inline-size, like in other UAs. r=emilio
Comment 7•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/13758 for changes under testing/web-platform/tests
Can't merge web-platform-tests PR due to failing upstream checks:
Github PR https://github.com/web-platform-tests/wpt/pull/13758
* continuous-integration/travis-ci/pr (https://travis-ci.org/web-platform-tests/wpt/builds/447771064?utm_source=github_status&utm_medium=notification)
Upstream PR merged
You need to log in
before you can comment on or make changes to this bug.
Description
•