This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29517 - Need to set preferred stylesheet when title is mutated
Summary: Need to set preferred stylesheet when title is mutated
Status: NEW
Alias: None
Product: CSS
Classification: Unclassified
Component: CSSOM (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Simon Pieters
QA Contact: public-css-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-04 10:54 UTC by Simon Pieters
Modified: 2016-03-07 10:22 UTC (History)
1 user (show)

See Also:


Attachments
Change preferred set on title modification (258 bytes, text/html)
2016-03-07 10:22 UTC, Rune Lillesveen
Details

Description Simon Pieters 2016-03-04 10:54:03 UTC
https://drafts.csswg.org/cssom/#ref-for-concept-css-style-sheet-title-2

[[
Whenever the attribute is set, changed or removed, the title must be set to the new value of the attribute, or to the empty string if the attribute is absent.
]]

When title changes, need to set the preferred stylesheet appropriately. Probably also when a stylesheet is disabled/enabled, etc.
Comment 1 Rune Lillesveen 2016-03-07 10:22:10 UTC
Created attachment 1638 [details]
Change preferred set on title modification

Added demo for modifying title. Currently affects preferred set in Gecko, not in Blink.