Bug 160196 - Typo in StyleSharingResolver.cpp
Summary: Typo in StyleSharingResolver.cpp
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Emilio Cobos Álvarez
URL:
Keywords:
: 174147 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-07-26 06:06 PDT by Emilio Cobos Álvarez (:emilio)
Modified: 2017-07-05 12:58 PDT (History)
7 users (show)

See Also:


Attachments
Patch (1.66 KB, patch)
2016-07-26 06:17 PDT, Emilio Cobos Álvarez (:emilio)
no flags Details | Formatted Diff | Diff
Patch (1.60 KB, patch)
2017-07-05 11:58 PDT, Emilio Cobos Álvarez
no flags Details | Formatted Diff | Diff
Patch (1.59 KB, patch)
2017-07-05 11:59 PDT, Emilio Cobos Álvarez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Emilio Cobos Álvarez (:emilio) 2016-07-26 06:06:05 PDT
Not a huge deal, just noticed it. Not sure how to test it though.
Comment 1 Emilio Cobos Álvarez (:emilio) 2016-07-26 06:17:28 PDT
Created attachment 284587 [details]
Patch
Comment 2 Darin Adler 2016-07-26 16:00:31 PDT
Comment on attachment 284587 [details]
Patch

Clearly a correct change and likely valuable. Antti, Jer, any insight into what the symptom will be here?
Comment 3 Antti Koivisto 2016-07-28 00:40:49 PDT
> Clearly a correct change and likely valuable. Antti, Jer, any insight into
> what the symptom will be here?

It could cause inappropriate style sharing (and so wrong style being applied) from the full screen element to some other element. Good find.
Comment 4 Darin Adler 2016-07-28 08:54:47 PDT
(In reply to comment #3)
> > Clearly a correct change and likely valuable. Antti, Jer, any insight into
> > what the symptom will be here?
> 
> It could cause inappropriate style sharing (and so wrong style being
> applied) from the full screen element to some other element. Good find.

Sorry, what I meant to say was, can we figure out how to use this information to help us construct a test case?
Comment 5 Antti Koivisto 2016-07-28 10:36:06 PDT
> Sorry, what I meant to say was, can we figure out how to use this
> information to help us construct a test case?

It would involve inserting an element that is otherwise identical to the full screen element (in full screen mode) so the style gets copied. This is likely to be somewhat tricky. I assume there is some sort of non-CSS styling in full screen elements that would result in observable differences (since these tests exist).
Comment 6 Emilio Cobos Álvarez 2017-07-04 22:10:40 PDT
*** Bug 174147 has been marked as a duplicate of this bug. ***
Comment 7 Emilio Cobos Álvarez 2017-07-04 22:12:46 PDT
Comment on attachment 284587 [details]
Patch

Antti, do you think this is worth landing? I think it is, and I remember spending a fair amount of time trying to test this without success (though I could try again I guess).

The ChangeLog entry is suboptimal (heh, was my very first try). I can probably send a new patch if you want.
Comment 8 WebKit Commit Bot 2017-07-05 01:50:03 PDT
Comment on attachment 284587 [details]
Patch

Rejecting attachment 284587 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-02', 'validate-changelog', '--check-oops', '--non-interactive', 284587, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

/Volumes/Data/EWS/WebKit/Source/WebCore/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive).

Full output: http://webkit-queues.webkit.org/results/4055293
Comment 9 Antti Koivisto 2017-07-05 01:51:03 PDT
Sure, please land it. ChangeLog needs some fixes to get through the commit queue.
Comment 10 Emilio Cobos Álvarez 2017-07-05 11:58:28 PDT
Created attachment 314631 [details]
Patch
Comment 11 Emilio Cobos Álvarez 2017-07-05 11:59:39 PDT
Created attachment 314632 [details]
Patch
Comment 12 WebKit Commit Bot 2017-07-05 12:58:52 PDT
Comment on attachment 314632 [details]
Patch

Clearing flags on attachment: 314632

Committed r219147: <http://trac.webkit.org/changeset/219147>
Comment 13 WebKit Commit Bot 2017-07-05 12:58:53 PDT
All reviewed patches have been landed.  Closing bug.