Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

Remove scoped style #318

Merged
merged 4 commits into from
May 2, 2016
Merged

Remove scoped style #318

merged 4 commits into from
May 2, 2016

Conversation

adanilo
Copy link

@adanilo adanilo commented Apr 29, 2016

Addresses issue #231

@adanilo
Copy link
Author

adanilo commented Apr 29, 2016

Likely will want to change the example with 2 video elements and inline style due to the removal of 'scoped'. Suggested alternates most welcome.

<div>
<video src="movie.vid#track=Video&track=English" autoplay controls mediagroup=movie></video>
<video src="movie.vid#track=sign" autoplay mediagroup=movie></video>
<div style="{ margin: 1em auto; position: relative; width: 400px; height: 300px; }">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style attribute value should not contain { }

@travisleithead
Copy link
Member

Other than Arron's comment, this looks good. I did note one thing: in one example, you promote the styles to the head, but in the table example, you remove them entirely. Essential vs. non-essential styles?

@adanilo
Copy link
Author

adanilo commented May 2, 2016

Good catch on the curlys, thanks. @travisleithead yes, the table example didn't need the styles at all but the other example breaks without them, and without scoped they need to be in the head.

@travisleithead travisleithead merged commit 4cdef0b into w3c:master May 2, 2016
W3C-HTML-Bot pushed a commit that referenced this pull request May 2, 2016
ExplodingCabbage added a commit to ExplodingCabbage/html-1 that referenced this pull request Jul 7, 2016
These were true when the index of elements was introduced, but obsoleted
when w3c#318 removed the scoped
attribute.

Resolves w3c#516

(This commit is an exact duplicate of whatwg/html@2acc100)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants