WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
181360
Add expectation files of mathml/opentype/opentype-stretchy-horizontal.html for Windows
https://bugs.webkit.org/show_bug.cgi?id=181360
Summary
Add expectation files of mathml/opentype/opentype-stretchy-horizontal.html fo...
Minsheng Liu
Reported
2018-01-05 19:01:37 PST
See
https://build.webkit.org/results/Apple%20Win%207%20Release%20(Tests)/r226096%20(3524)/retries/mathml/opentype/opentype-stretchy-horizontal-diffs.html
and
https://build.webkit.org/results/Apple%20Win%207%20Release%20(Tests)/r226096%20(3524)/mathml/opentype/opentype-stretchy-horizontal-pretty-diff.html
The logical widths are way off, and the glyph assembly also fails.
Attachments
Patch
(6.62 KB, patch)
2018-01-06 07:04 PST
,
Minsheng Liu
darin
: review+
lambda
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Minsheng Liu
Comment 1
2018-01-05 20:43:15 PST
Unfortunately I won't have access to a Windows PC until next weekend. What needs to be done in the meantime?
Frédéric Wang (:fredw)
Comment 2
2018-01-06 02:41:19 PST
(In reply to Minsheng Liu from
comment #0
)
> The logical widths are way off, and the glyph assembly also fails.
The width seems too small (at least the middle glyphs of the assembly are missing and the start & end glyphs are too close). The logical height is too large. git log -- LayoutTests/platform/win/mathml/opentype/opentype-stretchy-horizontal-expected.txt gives me the following history:
https://trac.webkit.org/changeset/169644
https://trac.webkit.org/changeset/202776
https://trac.webkit.org/changeset/202794
https://trac.webkit.org/changeset/203212
https://trac.webkit.org/changeset/225736
I am not sure the painting of stretchy operator has ever worked well on AppleWin (there are no PNG references in the history) and I think the test even randomly crashed in the past. The crazy logical height was already here when I first removed the failure expectation and added back the txt reference (
https://trac.webkit.org/changeset/202794
). So I don't think new issues were caused by
r225736
. So maybe just re-baseline the test with the current txt output for now. Note: Personally, I won't spend too much time on the AppleWin port... I would even actually recommend you to get more freedom and try a nice operating system called Linux at some point :-) That will also allow you to update tests for the GTK port ;-)
Minsheng Liu
Comment 3
2018-01-06 07:04:28 PST
Created
attachment 330638
[details]
Patch
Minsheng Liu
Comment 4
2018-01-06 07:14:20 PST
> I am not sure the painting of stretchy operator has ever worked well on > AppleWin (there are no PNG references in the history) and I think the test > even randomly crashed in the past. The crazy logical height was already here > when I first removed the failure expectation and added back the txt > reference (
https://trac.webkit.org/changeset/202794
). So I don't think new > issues were caused by
r225736
.
Glad to hear that.
> Note: Personally, I won't spend too much time on the AppleWin port... I > would even actually recommend you to get more freedom and try a nice > operating system called Linux at some point :-) That will also allow you to > update tests for the GTK port ;-)
Sure. Personally, I find less choices (in tools) leads to more freedom (in action) but you know, I love open source. With all the other bugs we plan to fix, I believe testing the GTK port will become inevitable. I have some experience with old fashioned shell on Linux via ssh, but Linux with GUI is indeed new to me. Maybe I will love it some day :-) (In reply to Frédéric Wang (:fredw) from
comment #2
)
> (In reply to Minsheng Liu from
comment #0
) > > The logical widths are way off, and the glyph assembly also fails. > > The width seems too small (at least the middle glyphs of the assembly are > missing and the start & end glyphs are too close). The logical height is too > large. > > git log -- > LayoutTests/platform/win/mathml/opentype/opentype-stretchy-horizontal- > expected.txt > > gives me the following history: > >
https://trac.webkit.org/changeset/169644
>
https://trac.webkit.org/changeset/202776
>
https://trac.webkit.org/changeset/202794
>
https://trac.webkit.org/changeset/203212
>
https://trac.webkit.org/changeset/225736
> > I am not sure the painting of stretchy operator has ever worked well on > AppleWin (there are no PNG references in the history) and I think the test > even randomly crashed in the past. The crazy logical height was already here > when I first removed the failure expectation and added back the txt > reference (
https://trac.webkit.org/changeset/202794
). So I don't think new > issues were caused by
r225736
. > > So maybe just re-baseline the test with the current txt output for now. > > Note: Personally, I won't spend too much time on the AppleWin port... I > would even actually recommend you to get more freedom and try a nice > operating system called Linux at some point :-) That will also allow you to > update tests for the GTK port ;-)
Frédéric Wang (:fredw)
Comment 5
2018-01-06 07:15:49 PST
(In reply to Minsheng Liu from
comment #3
)
> Created
attachment 330638
[details]
> Patch
@Minsheng: It seems Apple already worked around the issue in
bug 181346
. If you really want this patch, you should consider updating LayoutTests/platform/win/TestExpectations. But maybe at the end it's better to do nothing than to upload "wrong" txt/png expectations...
Minsheng Liu
Comment 6
2018-01-06 07:19:47 PST
(In reply to Frédéric Wang (:fredw) from
comment #5
)
> (In reply to Minsheng Liu from
comment #3
) > > Created
attachment 330638
[details]
> > Patch > > @Minsheng: It seems Apple already worked around the issue in
bug 181346
. If > you really want this patch, you should consider updating > LayoutTests/platform/win/TestExpectations. But maybe at the end it's better > to do nothing than to upload "wrong" txt/png expectations...
I think if test expectations are marked as failing then we should be good here right? I do not like the idea of submitting a wrong expectation either. Let us move on other things!
Minsheng Liu
Comment 7
2018-01-06 07:20:07 PST
*** This bug has been marked as a duplicate of
bug 181346
***
Frédéric Wang (:fredw)
Comment 8
2018-01-06 07:22:02 PST
(In reply to Minsheng Liu from
comment #6
)
> I think if test expectations are marked as failing then we should be good > here right? I do not like the idea of submitting a wrong expectation either. > Let us move on other things!
Yes, I agree. Thanks for checking this.
Radar WebKit Bug Importer
Comment 9
2018-01-06 07:23:55 PST
<
rdar://problem/36335180
>
Minsheng Liu
Comment 10
2018-01-07 22:46:29 PST
@Darin: the bug is unnecessary as it is a duplicate of 181346. I closed it but forgot to cancel the review flag. Sorry about not making it clear earlier. I hope I have enough permission to set commit-queue- (and apparently so) so this does not get merged. For more info, see
comment 2
/5/6.
Darin Adler
Comment 11
2018-01-07 23:00:15 PST
(In reply to Minsheng Liu from
comment #10
)
> I hope I have enough permission to set commit-queue- (and > apparently so) so this does not get merged.
You do.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug