Changes between Version 18 and Version 19 of HackingWebInspector
- Timestamp:
- Sep 16, 2020, 12:07:37 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HackingWebInspector
v18 v19 19 19 After updating these settings, run the [https://developer.apple.com/safari/technology-preview/ Safari Technology Preview]. Then, open the Web Inspector and right-click to inspect the inspector itself. 20 20 21 By inspecting the CSS property names in the second-level inspector, we quickly find that the colors are defined by rules in `Source/WebInspectorUI/UserInterface/ SyntaxHighlightingDefaultTheme.css`.21 By inspecting the CSS property names in the second-level inspector, we quickly find that the colors are defined by rules in `Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.css`. 22 22 To create and submit a patch with our changes, we must to create an accompanying Bugzilla bug, and compute the diff of our changes against WebKit trunk. 23 23 … … 54 54 }}} 55 55 56 4. Edit `Source/WebInspectorUI/UserInterface/ SyntaxHighlightingDefaultTheme.css` within a git repository.56 4. Edit `Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.css` within a git repository. 57 57 58 5. Copy files from `Source/WebInspectorUI/UserInterface` to the build directory by running `make -C Source/WebInspectorUI release`. Do it after every time you modify Inspector's files.58 5. Run `make -C Source/WebInspectorUI release` to copy files from `Source/WebInspectorUI/UserInterface` to the build directory. Do it after every time you modify Inspector's files. 59 59 60 60 7. Look at your changes … … 68 68 Tools/Scripts/check-webkit-style 69 69 Tools/Scripts/prepare-ChangeLog --bug xxxxx 70 # edit WebCore/ChangeLog70 # edit Source/WebInspectorUI/ChangeLog 71 71 }}} 72 72 … … 79 79 80 80 81 If you have any questions there are always people willing to help! Just jump onto [http://freenode.net/irc_servers.shtml Freenode IRC] and visit #webkit or #webkit-inspector. 82 83 ---- 84 85 Parts of the tutorial was taken from [http://bogojoker.com/inspector_build/ Quick Hacking on the Web Inspector]. 81 If you have any questions there are always people willing to help! Just jump onto [https://webkit.slack.com webkit.slack.com], #webkit-inspector channel.