Skip to content

Commit

Permalink
Improve customizable select optgroup label styles
Browse files Browse the repository at this point in the history
This patch moves some styles for the optgroup's label attribute
rendering element from inline styles to the UA stylesheet. Now that they
are in the UA stylesheet, we can also turn them off for appearance:base
<select>s.

Bug: 379886419
Change-Id: Ic25eb818ff2fd697edb7e257c144e2991cdceb5b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6034048
Commit-Queue: Joey Arhar <[email protected]>
Reviewed-by: Traian Captan <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1402700}
  • Loading branch information
josepharhar authored and chromium-wpt-export-bot committed Jan 7, 2025
1 parent 59ee38f commit f13ebbb
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
.border {
border: 2px solid green;
}
/* TODO(crbug.com/379886419): Remove these proprietary styles */
.customizable-select-legend {
padding: 0px 2px 1px;
min-height: 1.2em;
}
</style>

<div class=customizable-select-button id=button>
Expand Down

0 comments on commit f13ebbb

Please sign in to comment.