News for hackers. Stuff that matters.
Re:Apple Removes Shadow DOM from Safari by Geee on Saturday February 15, 2014 @04:41AM (#7243242)
Can someone explain this? Isn't Shadow DOM necessary? What is this 60fps on mobile intent and how it relates to Shadow DOM?
Re:Apple Removes Shadow DOM from Safari by mwenge on Saturday February 15, 2014 @05:07AM (#7243306)
It's an in-joke taking aim at Blink's stated 2014 goal of optimizing for mobile performance at the expense of supporting things like CSS Regions. Shadow DOM is also the subject of some controversy, as Blink and Mozilla seem intent on pressing ahead with implementing it without full buy-in from all vendors or even the WG.
Re:Apple Removes Shadow DOM from Safari by nephyrin on Saturday February 15, 2014 @05:30AM (#7243354)
Mozilla (along with most everyone else) took issue with Google's intent to ship Shadow DOM. See e.g. this exchange:

http://lists.w3.org/Archives/Public/www-style/2014Feb/0152.h...

Re:Apple Removes Shadow DOM from Safari by pyalot2 on Saturday February 15, 2014 @04:49AM (#7243261)
Shadow DOM is a mechanism by which a browser can inject a subtree into the DOM, but it won't be visible to JS.

This was often used for things like custom elements (inputs and such). I presume it wasn't very popular to use the shadow dom in webkit.

Far as I recall, there's also talk about using the shadow dom for injecting foreign fragments into the DOM in a secure manner (web components). Although there's probably ways to achieve this without the full shadow dom.

Re:Apple Removes Shadow DOM from Safari by dasmoth on Saturday February 15, 2014 @05:13AM (#7243319)
Shadow DOM allows the contents of a component to be styled independently from the enclosing page. As far as I can tell, there currently isn't any other good way of doing robust, scoped CSS (short of iframes). I'll be very, very, sad if shadow DOM dies.
Re:Apple Removes Shadow DOM from Safari by masklinn on Saturday February 15, 2014 @04:48AM (#7243259)
> Can someone explain this?

They're finishing up the removal of unmaintained and essentially dead code which started after the Blink fork.

> Isn't Shadow DOM necessary?

To what?

> What is this 60fps on mobile intent and how it relates to Shadow DOM?

Shadow DOM requires hooks throughout the engine. If you remove the hooks (because nobody uses them because shadow dom is not supported) the engine is lighter and executes faster. Hence 60fps goal.

Re:Apple Removes Shadow DOM from Safari by why_me on Saturday February 15, 2014 @04:56AM (#7243280)
> Hence 60fps goal.

Is that for embedded video playback? Whatelse could it apply to? Any idea?

Re:Apple Removes Shadow DOM from Safari by 0x0 on Saturday February 15, 2014 @05:01AM (#7243288)
Wild guess: Rendering live web pages (html+js+css, with animations and scrolling) at 60 frames per second.
Re:Apple Removes Shadow DOM from Safari by danabramov on Saturday February 15, 2014 @06:38AM (#7243489)
As stated in nearby comments, it's an in-joke. There's no "goal".
Re:Apple Removes Shadow DOM from Safari by joegaudet on Saturday February 15, 2014 @02:28PM (#7244962)
The FPS count is generally with regards to scrolling and built in animation / transition rendering.