mirror of
https://github.com/servo/servo.git
synced 2025-09-27 23:30:08 +01:00
Rewrite the user-agent stysheet(s)
Based on https://html.spec.whatwg.org/multipage/rendering.html rather than http://dev.w3.org/csswg/css2/grammar.html
This commit is contained in:
parent
1117d86b63
commit
e9ebfb74fc
7 changed files with 801 additions and 130 deletions
23
resources/iso-8859-8.css
Normal file
23
resources/iso-8859-8.css
Normal file
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
|
||||
https://html.spec.whatwg.org/multipage/rendering.html#bidi-rendering
|
||||
|
||||
> When the document's character encoding is ISO-8859-8,
|
||||
> the following rules are additionally expected to apply, following [user-agent.css]
|
||||
|
||||
*/
|
||||
|
||||
@namespace url(http://www.w3.org/1999/xhtml);
|
||||
|
||||
|
||||
address, blockquote, center, div, figure, figcaption, footer, form, header, hr,
|
||||
legend, listing, main, p, plaintext, pre, summary, xmp, article, aside, h1, h2,
|
||||
h3, h4, h5, h6, hgroup, nav, section, table, caption, colgroup, col, thead,
|
||||
tbody, tfoot, tr, td, th, dir, dd, dl, dt, menu, ol, ul, li, [dir=ltr i],
|
||||
[dir=rtl i], [dir=auto i], *|* {
|
||||
unicode-bidi: bidi-override;
|
||||
}
|
||||
input:not([type=submit i]):not([type=reset i]):not([type=button i]),
|
||||
textarea, keygen {
|
||||
unicode-bidi: normal;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue