W3C home > Mailing lists > Public > www-style@w3.org > April 2015

Re: [css-cascade-4][css3-ui] naming collision: the "default" value

From: Jonathan Kingston <jonathan@jooped.com>
Date: Thu, 23 Apr 2015 13:29:33 +0000
Message-ID: <CAKrjaaUREoZgj8YmmeL8TBP+U7FFDdpRScR8fStbAPWxuUVYWw@mail.gmail.com>
To: Simon Pieters <simonp@opera.com>, lists@novalistic.com
Cc: www-style list <www-style@w3.org>
That is true regarding same-origin-policy however it is the chosen
terminology in the specification.
I was mostly just interested if there would be further origins added later
also.

My point about shadow DOM was relating to the following which mentions
other usage of origins:
http://www.w3.org/TR/css-scoping-1/#cascading

 'An additional cascade criteria must be added, between Origin and Scope,
called Shadow Tree.'

My question was regarding the use of 'default' in shadow DOM scoped styles.


On Thu, Apr 23, 2015 at 1:47 PM Simon Pieters <simonp@opera.com> wrote:

> On Thu, 23 Apr 2015 13:56:09 +0200, Jonathan Kingston
> <jonathan@jooped.com> wrote:
>
> > As Tab pointed out 'ua-default' isn't strictly correct as it could be the
> > user origin.
>
>  From the author's perspective, there is no difference. Users with a user
> stylesheet have just messed with the UA default. Like users with
> non-default zoom level or font size. So I think this is not a problem.
>
> > How about something similar to: 'origin-default'
> >
> > This relates to the current origin, setting it to it's origins default. I
> > considered 'parent-origin-default' but it is way too long.
>
> Origin on the Web usually means origin as in the same-origin-policy.
>
> > Is there any consensus on how this behavior will relate to shadow DOM as
> > there was some talk around an origin just for the shadow default?
>
> I don't know what you are referring to here. :-)
>
> --
> Simon Pieters
> Opera Software
>
Received on Thursday, 23 April 2015 13:30:02 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:30 UTC