Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #33705
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Disabled stylesheet still used |
| Date | 2017-08-07 22:53 +0200 |
| Organization | PointedEars Software (PES) |
| Message-ID | <4025304.LvFx2qVVIh@PointedEars.de> (permalink) |
| References | <kZ6dnVj08fqglhXEnZ2dnUU7-X3NnZ2d@westnet.com.au> <916b1ac8-cc6b-460f-84f1-99a0b482a053@googlegroups.com> <Ir6dncB58cHaqRXEnZ2dnUU7-WvNnZ2d@westnet.com.au> <4023794.cEBGB3zze1@PointedEars.de> |
Thomas 'PointedEars' Lahn wrote: > Andrew Poulos wrote: >> On 7/08/2017 7:10 PM, Julio Di Egidio wrote: >>> On Monday, August 7, 2017 at 8:40:13 AM UTC+2, Andrew Poulos wrote: >>>> In a page head there are references to a number of stylesheets >>>> >>>> <link id="black" type="text/css" rel="stylesheet" disabled >>>> href="black.css"> <link id="blue" type="text/css" rel="stylesheet" >>>> disabled href="blue.css"> <link id="green" type="text/css" >>>> rel="stylesheet" disabled href="_green.css"> >>>> ... >> […] > Because of the references in HTML 5.x and WHATWG HTML, one must assume > that the `disabled` property of `link` element objects is now implemented > only according to the `StyleSheet` interface of the CSS Object Model > (CSSOM) Specification, which is still a Working/Editor’s Draft: > > <https://www.w3.org/TR/2016/WD-cssom-1-20160317/#the-stylesheet-interface> > <https://drafts.csswg.org/cssom/#the-stylesheet-interface> (2017-08-07) Those are alternative stylesheets, so you should also provide the `alternate` keyword in the `rel` attribute value for those that should not be immediately applied. Curiously, in Chromium at least then the alternative stylesheet is only applied if first I set the `disabled` property on the corresponding element object to “true”, which causes a “disabled” attribute to appear in the markup view, and then to “false”, which causes the attribute to disappear again. -- PointedEars FAQ: <http://PointedEars.de/faq> | <http://PointedEars.de/es-matrix> <https://github.com/PointedEars> | <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Disabled stylesheet still used Andrew Poulos <ap_prog@hotmail.com> - 2017-08-07 16:39 +1000
Re: Disabled stylesheet still used Silvio <silvio@internet.com> - 2017-08-07 09:11 +0200
Re: Disabled stylesheet still used Julio Di Egidio <julio@diegidio.name> - 2017-08-07 02:10 -0700
Re: Disabled stylesheet still used Andrew Poulos <ap_prog@hotmail.com> - 2017-08-07 19:35 +1000
Re: Disabled stylesheet still used Julio Di Egidio <julio@diegidio.name> - 2017-08-07 03:41 -0700
Re: Disabled stylesheet still used Julio Di Egidio <julio@diegidio.name> - 2017-08-07 20:42 -0700
Re: Disabled stylesheet still used Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-08-07 22:30 +0200
Re: Disabled stylesheet still used Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-08-07 22:53 +0200
Re: Disabled stylesheet still used Andrew Poulos <ap_prog@hotmail.com> - 2017-08-08 12:31 +1000
Re: Disabled stylesheet still used Julio Di Egidio <julio@diegidio.name> - 2017-08-07 20:48 -0700
Re: Disabled stylesheet still used James Kirk <noneya.invalid@gmail.com> - 2017-08-07 14:43 -0400
Re: Disabled stylesheet still used James Kirk <noneya.invalid@gmail.com> - 2017-08-07 19:50 -0400
Re: Disabled stylesheet still used Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-08-08 06:40 +0200
OT standard whining from PointedEars nothing useful here James Kirk <noneya.invalid@gmail.com> - 2017-08-08 05:43 -0400
Re: Disabled stylesheet still used (was: OT standard whining from **** nothing useful here) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-08-08 13:03 +0200
Re: Disabled stylesheet still used JJ <jj4public@vfemail.net> - 2017-08-08 01:55 +0700
Re: Disabled stylesheet still used JJ <jj4public@vfemail.net> - 2017-08-08 01:58 +0700
Re: Disabled stylesheet still used Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-08-07 22:32 +0200
Re: Disabled stylesheet still used Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-08-07 21:37 +0200
Re: Disabled stylesheet still used Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-08-07 22:31 +0200
csiph-web