mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:07:36 +00:00
LibWeb: Implement the CSS outline
property :^)
...along with `outline-color`, `outline-style`, and `outline-width`. This re-uses the existing border-painting code, which seems to work well enough! This replaces the previous code for drawing focus-outlines, with generic outline painting for any elements that want it. Focus outlines are now instead supported by this code in Default.css: ```css :focus-visible { outline: auto; } ```
This commit is contained in:
parent
5640779838
commit
fe7e797483
15 changed files with 174 additions and 40 deletions
|
@ -126,6 +126,7 @@
|
|||
<li><a href="fonts.html">Fonts</a></li>
|
||||
<li><a href="borders.html">Borders</a></li>
|
||||
<li><a href="border-radius.html">Border-Radius</a></li>
|
||||
<li><a href="outline.html">Outlines</a></li>
|
||||
<li><a href="lists.html">Lists</a></li>
|
||||
<li><a href="flex.html">Flexboxes</a></li>
|
||||
<li><a href="flex-order.html">Flexbox order</a></li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue