Skip to content

Fix #1548. #2563

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 20, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 18 additions & 7 deletions cssom-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ urlPrefix: https://html.spec.whatwg.org/multipage/
text: tree order
text: document base url
text: content-type metadata; url: #content-type
urlPrefix: rendering.html
type: dfn
text: being rendered
urlPrefix: browsers.html
type: interface; text: WindowProxy
type: dfn
Expand Down Expand Up @@ -2779,19 +2782,27 @@ steps:
versions. That is, both <code>:before</code> and <code>::before</code> should
match above.

<li>Let <var>decls</var> be an empty list of <a>CSS declarations</a>.
<li>If <var>elt</var> is <a>connected</a>, part of the <a>flat tree</a>,
and its <a>shadow-including root</a> has a <a>browsing context</a> which either
doesn't have a <a>browsing context container</a>, or whose
<a>browsing context container</a> is <a>being rendered</a>,
set <var>decls</var> to a list of all longhand properties that are
<a lt="supported CSS property">supported CSS properties</a>, in lexicographical order,
with the value being the <a>resolved value</a> computed for <var>obj</var>
using the style rules associated with <var>doc</var>.

Issue: There are UAs that handle shorthands, and all UAs handle shorthands
that used to be longhands like 'overflow', see
<a href="https://github.com/w3c/csswg-drafts/issues/2529">#2529</a>.

<li>
Return a live <a>CSS declaration block</a> with the following properties:
<dl>
<dt><a for="CSSStyleDeclaration">readonly flag</a>
<dd>Set.
<dt><a for="CSSStyleDeclaration">declarations</a>
<dd>All longhand properties that are <a lt="supported CSS property">supported CSS properties</a>, in lexicographical order, with the value being
the <a>resolved value</a> computed for <var>obj</var> using the style rules associated with <var>doc</var>.

Issue: There are UAs that handle shorthands, and all UAs handle shorthands
that used to be longhands like 'overflow', see
<a href="https://github.com/w3c/csswg-drafts/issues/2529">#2529</a>.

<dd><var>decls</var>.
<dt><a for="CSSStyleDeclaration">parent CSS rule</a>
<dd>Null.
<dt><a for="CSSStyleDeclaration">owner node</a>
Expand Down