News for hackers. Stuff that matters.
Re:Visualizing Layers in Web Inspector by kevinSuttle on Friday April 27, 2018 @04:52PM (#16944212)
Remember when Firefox had 3D View? Pepperidge Farm remembers. https://developer.mozilla.org/en-US/docs/Tools/3D_View
Re:Visualizing Layers in Web Inspector by Epskampie on Friday April 27, 2018 @04:57PM (#16944251)
They even mention it in the article. This is different as these are compsiting layers, not dom nodes shown in 3d. Compositing layers are an optimization technique.
Re:Visualizing Layers in Web Inspector by tvmalsv on Friday April 27, 2018 @07:09PM (#16945139)
I actually miss the 3D view. Anyone know why it was discontinued? I imagine it was simply too expensive in dev-hours to maintain compared to the benefit.
Re:Visualizing Layers in Web Inspector by ASalazarMX on Friday April 27, 2018 @07:23PM (#16945211)
The first time I was telling a fellow .Net developer about the awesomeness of Firefox vs Internet Explorer, I thought the 3D view would blow his mind. It crashed instead.
Re:Visualizing Layers in Web Inspector by ygra on Saturday April 28, 2018 @07:32AM (#16947176)
Well, you can repeat the crashing experience with the Layers view in Chrome, then :)
Re:Visualizing Layers in Web Inspector by xab9 on Saturday April 28, 2018 @03:40AM (#16946568)
Probably because chrome dev tools doesn't have that :)
Re:Visualizing Layers in Web Inspector by intellix on Friday April 27, 2018 @08:30PM (#16945472)
Cool but I'm still a mile away from opening any site in safari developer tools unless I have to. It makes me want to rip my face off in that its basically unusable
Re:Visualizing Layers in Web Inspector by twsted on Saturday April 28, 2018 @02:14AM (#16946314)
I really cannot understand why you are saying this. I normally prefer Safari to Chrome as a developer tool. It has however some performance problems sometimes.
Re:Visualizing Layers in Web Inspector by cooper12 on Saturday April 28, 2018 @02:44AM (#16946397)
When people first learn a piece of software, they expect rival software to work exactly the same way or their brain instantly dismissed it. It happened to me when I switched from Windows to OSX, nothing was like how I expected and I had to change the whole way I use my OS, but in the end it was rewarding. Similar thing with GIMP: most people are weaned on photoshop so can't stand any workflow that is a bit different or not one-to-one feature-compatible. I learned GIMP first though so I never had any pains learning it and knew its limitations.
Re:Visualizing Layers in Web Inspector by xab9 on Saturday April 28, 2018 @03:39AM (#16946565)
Maybe he's not like "most people", the point is that you can not know.
Re:Visualizing Layers in Web Inspector by Epskampie on Friday April 27, 2018 @04:55PM (#16944232)
Pretty cool, but it seems like this is is getting quite far from any standards-based measure. The way another browser such as firefox renders html might be completely different, so optimizing using this tool could possibly do nothing in other browsers, or even worsen performance.
Re:Visualizing Layers in Web Inspector by bgirard on Friday April 27, 2018 @05:27PM (#16944478)
There are examples where at it may make things worse, sure. But in general if one browser is not able to understand how to layerize your page, there's a good chance other browsers will struggle as well.

Some operations are just fundamentally more difficult for any modern engine to handles such as animated properties in a container that has group opacity or transparent layers with subpixel anti-aliases text.

A bit of careful tweaking can really improve the performance of a page. The problem is its a lot of domain specific knowledge.

Re:Visualizing Layers in Web Inspector by ThurmaUman on Friday April 27, 2018 @07:23PM (#16945213)
> so optimizing using this tool

This is a debugging tool. I'm not sure how you optimize for a visualization of how your layout rendered.

Re:Visualizing Layers in Web Inspector by contoraria on Saturday April 28, 2018 @04:16AM (#16946656)
if certain layers were rendered before the rest, knowing which is which could help optimization.