Branch: refs/heads/webkitglib/2.50
Home: https://github.com/WebKit/WebKit
Commit: 7668a3fc725dd45d3a79dab1b505fb311f38b442
https://github.com/WebKit/WebKit/commit/7668a3fc725dd45d3a79dab1b505fb311f38b442
Author: Razvan Caliman <[email protected]>
Date: 2025-08-15 (Fri, 15 Aug 2025)
Changed paths:
M Source/WebInspectorUI/UserInterface/Views/AuditTestCaseContentView.css
M Source/WebInspectorUI/UserInterface/Views/AuditTestContentView.css
M Source/WebInspectorUI/UserInterface/Views/GraphicsOverviewContentView.css
Log Message:
-----------
Cherry-pick 298633@main (8f765ec20158).
https://bugs.webkit.org/show_bug.cgi?id=297333
Web Inspector: (REGRESSION 297671@main) Oversized font-sizes in Audits and
Graphics tabs
https://bugs.webkit.org/show_bug.cgi?id=297333
rdar://158226427
Reviewed by BJ Burg.
Some User Agent styles for headings nested in `<section>` elements were
removed in https://commits.webkit.org/297671@main
The removed styles basically adjusted the heading styles down for each
nesting level.
For example: `section h1` looks like `h2`, `section section h1` looks like
`h3`.
This patch replicates the removed styles for the DOM structure in the
Audits and Graphics tabs.
Drive-by: replace descendant element selectors with explicit direct
descendant element selectors
to match Web Inspector style, clarify the DOM structure in CSS, and avoid
unintentional styles.
* Source/WebInspectorUI/UserInterface/Views/AuditTestCaseContentView.css:
(.content-view-container > .content-view.audit-test-case.manager-editing >
header > .information > h1 > img):
(.content-view.audit-test-case > header > .information > h1):
(section > .content-view.audit-test-case > header > .information > h1):
(.content-view.audit-test-case > header > .information > h1 > img):
(.content-view.audit-test-case.manager-editing.disabled:not(.editable) >
header > .information > h1 > img):
(.content-view.audit-test-case > section > :is(.dom-nodes, .errors) > h1):
(section > .content-view.audit-test-case > section > :is(.dom-nodes,
.errors) > h1):
(@media (prefers-color-scheme: dark)
.content-view.audit-test-case.manager-editing > header > .information > h1 >
img):
(.content-view-container > .content-view.audit-test-case.manager-editing >
header h1 > img): Deleted.
(.content-view.audit-test-case > header h1): Deleted.
(.content-view.audit-test-case > header h1 > img): Deleted.
(.content-view.audit-test-case.manager-editing.disabled:not(.editable) >
header h1 > img): Deleted.
(.content-view.audit-test-case > section h1): Deleted.
(@media (prefers-color-scheme: dark)
.content-view.audit-test-case.manager-editing > header h1 > img): Deleted.
* Source/WebInspectorUI/UserInterface/Views/AuditTestContentView.css:
(.content-view-container > .content-view.audit-test > header > .information
> h1):
(.content-view-container > .content-view.audit-test > header h1): Deleted.
* Source/WebInspectorUI/UserInterface/Views/GraphicsOverviewContentView.css:
(.content-view.graphics-overview > section > .header > h1):
Canonical link: https://commits.webkit.org/298633@main
Canonical link: https://commits.webkit.org/298234.16@webkitglib/2.50
Commit: e9ba7551f785f08b8648634e7740c886e0ab0cf4
https://github.com/WebKit/WebKit/commit/e9ba7551f785f08b8648634e7740c886e0ab0cf4
Author: Rupin Mittal <[email protected]>
Date: 2025-08-15 (Fri, 15 Aug 2025)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/disambigaute-forward-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/disambigaute-traverseTo-forward-multiple-expected.txt
M LayoutTests/platform/ios/TestExpectations
M LayoutTests/platform/mac-wk2/TestExpectations
M Source/WebCore/loader/HistoryController.cpp
M Source/WebCore/loader/NavigationScheduler.cpp
Log Message:
-----------
Cherry-pick 298616@main (7ae0ae5ad9ee).
https://bugs.webkit.org/show_bug.cgi?id=296820
REGRESSION(298121@main): [ iOS, macOS wk2 ] 4x
imported/w3c/web-platform-tests/navigation-api/ (layout-tests) tests are
constant text failures
https://bugs.webkit.org/show_bug.cgi?id=296820
rdar://157317021
Reviewed by Charlie Wolfe.
298121@main contained two fixes. The second fix was changing
Page::goToItemForNavigationAPI to be called with the triggering frame
(sometimes an iframe) instead of always the main frame.
This change is causing these four failures. It seems like given the
design of the Navigation API, this change doesn't work. This API
expects navigation.back() and navigation.forward() to be able to
navigate over multiple frames, and check properties of those frames
(such as preventDefault). So in order to correctly collect these frames,
our recursive collection of frames must always begin at the main frame.
This patch reverts this second fix from 298121@main.
This does mean that the disambiguate* tests that 298121@main fixed will
again be failing. But that fix broke more tests than it fixed, and seems
wrong given the design of the Navigation API. We'll have to figure out
some other fix for the disambiguate* tests.
It's unusual that the bots didn't find these failures on 298121@main,
the bots were totally green. I'm not sure why, but regardless, this
patch should fix those tests.
*
LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/disambigaute-forward-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/disambigaute-traverseTo-forward-multiple-expected.txt:
* LayoutTests/platform/glib/TestExpectations:
* LayoutTests/platform/ios/TestExpectations:
* LayoutTests/platform/mac-wk2/TestExpectations:
* Source/WebCore/loader/HistoryController.cpp:
(WebCore::HistoryController::goToItemForNavigationAPI):
* Source/WebCore/loader/NavigationScheduler.cpp:
(WebCore::ScheduledHistoryNavigationByKey::findBackForwardItemByKey):
Canonical link: https://commits.webkit.org/298616@main
Canonical link: https://commits.webkit.org/298234.17@webkitglib/2.50
Compare: https://github.com/WebKit/WebKit/compare/a55e1741c32d...e9ba7551f785
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes