Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for the hspace and vspace on table #3573

Closed
wants to merge 4 commits into from
Closed

Remove support for the hspace and vspace on table #3573

wants to merge 4 commits into from

Conversation

Ahmad-S792
Copy link
Contributor

@Ahmad-S792 Ahmad-S792 commented Aug 23, 2022

Remove support for the hspace and vspace attributes on table
https://bugs.webkit.org/show_bug.cgi?id=120133

Reviewed by NOBODY (OOPS!).

Partial Merge - Since Webkit does not use "User Counter" - https://src.chromium.org/viewvc/blink?view=revision&revision=195601

It will align Webkit with Blink, Gecko and Web-spec.

* LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-vspace-hspace-expected.txt: Updated Expectations to 'PASS'.
* LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-vspace-hspace-s-expected.txt: Updated Expectations to 'PASS'.
* LayoutTests/imported/w3c/web-platform-tests/html/rendering/unmapped-attributes-expected.txt: Updated Expectations to 'PASS'.
* LayoutTests/platform/glib/tables/mozilla/bugs/bug1261-expected.txt: Rebased RenderTable.
* LayoutTests/platform/gtk/tables/mozilla/bugs/bug1261-expected.png: Updated based on new expectations.
* LayoutTests/platform/ios/tables/mozilla/bugs/bug1261-expected.txt: Rebased RenderTable.
* LayoutTests/platform/mac/tables/mozilla/bugs/bug1261-expected.png: Updated based on new expectations.
* LayoutTests/platform/mac/tables/mozilla/bugs/bug1261-expected.txt: Rebased RenderTable.
* Source/WebCore/html/HTMLTableElement.cpp
(HTMLTableElement::collectPresentationalHintsForAttribute): Removed 'hspace' and 'vspace' attributes on table to match with all other browsers.

7a8b822

Misc iOS, tvOS & watchOS macOS Linux Windows
❌ πŸ§ͺ style βœ… πŸ›  ios βœ… πŸ›  mac ❌ πŸ›  wpe βœ… πŸ›  πŸ§ͺ win
βœ… πŸ§ͺ bindings βœ… πŸ›  ios-sim   πŸ›  mac-debug ❌ πŸ›  gtk βœ… πŸ›  wincairo
βœ… πŸ§ͺ webkitperl βœ… πŸ§ͺ ios-wk2 βœ… πŸ›  mac-AS-debug ❌ πŸ§ͺ gtk-wk2
βœ… πŸ§ͺ api-ios βœ… πŸ§ͺ api-mac ❌ πŸ§ͺ api-gtk
βœ… πŸ›  tv βœ… πŸ§ͺ mac-wk1
βœ… πŸ›  tv-sim βœ… πŸ§ͺ mac-wk2
βœ… πŸ›  watch   πŸ§ͺ mac-AS-debug-wk2
βœ… πŸ›  watch-sim βœ… πŸ§ͺ mac-wk2-stress

@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Aug 23, 2022
@Ahmad-S792
Copy link
Contributor Author

@rniwa - Is "bug1261" test case required? I fixed all other tests on local repo and can push and squash the commit? Appreciate if you can confirm and I will do the needful. Thanks!

@Ahmad-S792 Ahmad-S792 marked this pull request as ready for review August 23, 2022 18:03
Copy link
Member

@rniwa rniwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me

@Ahmad-S792
Copy link
Contributor Author

@rniwa Will merge-queue and Labels be added automatically? Since I don't have access and I am not committer, so I am not sure.

@rniwa
Copy link
Member

rniwa commented Aug 23, 2022

@rniwa Will merge-queue and Labels be added automatically? Since I don't have access and I am not committer, so I am not sure.

No, I need to add it. I'm waiting for Mac EWS bots' results.

@rniwa rniwa added merge-queue Applied to send a pull request to merge-queue and removed merging-blocked Applied to prevent a change from being merged labels Aug 23, 2022
@webkit-commit-queue
Copy link
Collaborator

No reviewer information in commit message, blocking PR #3573

@webkit-commit-queue webkit-commit-queue added merging-blocked Applied to prevent a change from being merged and removed merge-queue Applied to send a pull request to merge-queue labels Aug 24, 2022
Copy link
Member

@rniwa rniwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me

@rniwa rniwa added unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing and removed merging-blocked Applied to prevent a change from being merged labels Aug 24, 2022
@webkit-commit-queue
Copy link
Collaborator

No reviewer information in commit message, blocking PR #3573

@webkit-commit-queue webkit-commit-queue added merging-blocked Applied to prevent a change from being merged and removed unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing labels Aug 24, 2022
@JonWBedard
Copy link
Member

@Ahmad-S792 Your PR description is great, that should be your commit message, that's what merge-queue is complaining about

Remove support for the hspace and vspace attributes on table
https://bugs.webkit.org/show_bug.cgi?id=120133

Reviewed by NOBODY (OOPS!).

Partial Merge - Since Webkit does not use "User Counter" - https://src.chromium.org/viewvc/blink?view=revision&revision=195601

It will align Webkit with Blink, Gecko and Web-spec.

* LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-vspace-hspace-expected.txt: Updated Expectations to 'PASS'.
* LayoutTests/imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/tables/table-vspace-hspace-s-expected.txt: Updated Expectations to 'PASS'.
* LayoutTests/imported/w3c/web-platform-tests/html/rendering/unmapped-attributes-expected.txt: Updated Expectations to 'PASS'.
* LayoutTests/platform/glib/tables/mozilla/bugs/bug1261-expected.txt: Rebased RenderTable.
* LayoutTests/platform/gtk/tables/mozilla/bugs/bug1261-expected.png: Updated based on new expectations.
* LayoutTests/platform/ios/tables/mozilla/bugs/bug1261-expected.txt: Rebased RenderTable.
* LayoutTests/platform/mac/tables/mozilla/bugs/bug1261-expected.png: Updated based on new expectations.
* LayoutTests/platform/mac/tables/mozilla/bugs/bug1261-expected.txt: Rebased RenderTable.
* Source/WebCore/html/HTMLTableElement.cpp
(HTMLTableElement::collectPresentationalHintsForAttribute): Removed 'hspace' and 'vspace' attributes on table to match with all other browsers.
@Ahmad-S792
Copy link
Contributor Author

@Ahmad-S792 Your PR description is great, that should be your commit message, that's what merge-queue is complaining about

I messed up, I updated commit message via amend (I use GitHub Desktop, not CLI) and then when I tried to Pull Origin, it created three commits and I am unable to squash them. :-( Any suggestion or tips?

@JonWBedard
Copy link
Member

@Ahmad-S792 Your PR description is great, that should be your commit message, that's what merge-queue is complaining about

I messed up, I updated commit message via amend (I use GitHub Desktop, not CLI) and then when I tried to Pull Origin, it created three commits and I am unable to squash them. :-( Any suggestion or tips?

You'll need to squash and then force push, this looks like GitHub's documentation on that https://docs.github.com/en/desktop/contributing-and-collaborating-using-github-desktop/managing-commits/squashing-commits
(I don't use GitHub Desktop, so I'm just reading through documentation knowing how git works under the hood, that should be the right thing)

@Ahmad-S792
Copy link
Contributor Author

@Ahmad-S792 Your PR description is great, that should be your commit message, that's what merge-queue is complaining about

I messed up, I updated commit message via amend (I use GitHub Desktop, not CLI) and then when I tried to Pull Origin, it created three commits and I am unable to squash them. :-( Any suggestion or tips?

You'll need to squash and then force push, this looks like GitHub's documentation on that https://docs.github.com/en/desktop/contributing-and-collaborating-using-github-desktop/managing-commits/squashing-commits (I don't use GitHub Desktop, so I'm just reading through documentation knowing how git works under the hood, that should be the right thing)

Damn! It is giving me same error, which I showed to @rniwa on Slack Channel. I am going to close this and create a new one. :-(

@Ahmad-S792 Ahmad-S792 closed this Aug 24, 2022
@Ahmad-S792 Ahmad-S792 deleted the fix1201333 branch August 24, 2022 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merging-blocked Applied to prevent a change from being merged
Projects
None yet
6 participants