Comments on: Introducing the Web Inspector https://webkit.org/blog/41/introducing-the-web-inspector/ Open Source Web Browser Engine Thu, 07 Jan 2016 22:09:21 +0000 hourly 1 https://wordpress.org/?v=6.5.2 By: Dimitri Bouniol https://webkit.org/blog/41/introducing-the-web-inspector/comment-page-1/#comment-2034 Sat, 08 Apr 2006 04:24:37 +0000 http://webkit.opendarwin.org/blog/?p=41#comment-2034 Awesome Web Inspector! When are the metrics and properties tabs going to be available?

]]>
By: Synchro https://webkit.org/blog/41/introducing-the-web-inspector/comment-page-1/#comment-784 Fri, 27 Jan 2006 10:19:18 +0000 http://webkit.opendarwin.org/blog/?p=41#comment-784 Firefox web developer is great, but as far as I’ve found, it only allows live changes to CSS. If you install SafariStand http://hetima.com/safari/stand-e.html it adds a simple menu bar to the show source window that means that you can edit the source of the whole page. If you happen to use inline style sheets (at least for testing purposes), you can get most of the functionality of the FF CSS editor, but with the added bonus of being able to edit the HTML as well.

]]>
By: hyatt https://webkit.org/blog/41/introducing-the-web-inspector/comment-page-1/#comment-781 Sat, 21 Jan 2006 21:29:14 +0000 http://webkit.opendarwin.org/blog/?p=41#comment-781 Don’t be so quick to finger HTML+JS for the performance. The tree control used in the Web Inspector is Objective-C.

]]>
By: nevyn https://webkit.org/blog/41/introducing-the-web-inspector/comment-page-1/#comment-780 Sat, 21 Jan 2006 21:23:40 +0000 http://webkit.opendarwin.org/blog/?p=41#comment-780 That one just cracked me up! I downloaded the sources to check out how you had made that nice inspector. It used a look and controls that resembles the new inspector in iPhoto, and I badly want to be able to use the same controls. Looking through the project, I couldn’t find a nib file. Instead I found… html and javascript! The inspector’s actually just a page! Way too funny.

Would explain the funky scroll bars and performance…

]]>
By: Philippe https://webkit.org/blog/41/introducing-the-web-inspector/comment-page-1/#comment-777 Thu, 19 Jan 2006 07:05:45 +0000 http://webkit.opendarwin.org/blog/?p=41#comment-777 I filed bug 6666 for that ::selection problem.

]]>
By: Mark Rowe https://webkit.org/blog/41/introducing-the-web-inspector/comment-page-1/#comment-776 Thu, 19 Jan 2006 06:47:55 +0000 http://webkit.opendarwin.org/blog/?p=41#comment-776 Phillippe: I checked the headers of your page using ‘curl -I’ which your browser-sniffing obviously doesn’t understand. Apologies for the confusion 🙂

]]>
By: Philippe https://webkit.org/blog/41/introducing-the-web-inspector/comment-page-1/#comment-775 Thu, 19 Jan 2006 06:43:22 +0000 http://webkit.opendarwin.org/blog/?p=41#comment-775 Mark, I’ll file a bug with testcases in a moment.
Note that the page in my example is correctly served as application/xhtml+xml to Webkit based browsers, Gecko and Opera (using some php magic, setting Content-Type headers), and to the W3C validator.

]]>
By: hyatt https://webkit.org/blog/41/introducing-the-web-inspector/comment-page-1/#comment-774 Thu, 19 Jan 2006 06:34:17 +0000 http://webkit.opendarwin.org/blog/?p=41#comment-774 Pseudo elements really shouldnt be matching. This is a bug in the inspector right now.

]]>
By: Mark Rowe https://webkit.org/blog/41/introducing-the-web-inspector/comment-page-1/#comment-773 Thu, 19 Jan 2006 04:20:32 +0000 http://webkit.opendarwin.org/blog/?p=41#comment-773 Philippe, thanks for the example. I agree that what the Web Inspector displays in that case is misleading, though not entirely inaccurate. It shows that the background-color will be overridden by that specified in the ::selection declaration in base1.css. It’s misleading because the ::selection rules are not applied unless there is a selection active. I would appreciate if you could file a bug with a reduced test case demonstrating this so a clearer means of communicating the “overriding” of rules in this scenario can be found.

A secondary comment is that the page you referenced claims to test CSS namespace selectors, and yet it is served up as text/html. Namespaces are a feature of XML and as such are not applicable in “plain” HTML documents. If you update your page to serve the example as an XHTML Content-Type it will have greater chance of working in browsers.

]]>
By: jchilders https://webkit.org/blog/41/introducing-the-web-inspector/comment-page-1/#comment-770 Wed, 18 Jan 2006 17:25:23 +0000 http://webkit.opendarwin.org/blog/?p=41#comment-770 Great job, guys. Lags occasionally, but handy nonetheless.

Another slightly more robust tool along these lines is Xyle Scope. I was introduced to this a few weeks ago and it has become a regular part of my development efforts. It’s built on top of WebKit:

http://www.culturedcode.com/xyle/inside.html

No, I don’t work for them, I just like the tool. 🙂

]]>