Bug 13692 - Acid2: scroll position renders badly after a font size change
Summary: Acid2: scroll position renders badly after a font size change
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://www.webstandards.org/files/aci...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-12 00:16 PDT by Elliott Sprehn
Modified: 2008-02-11 11:32 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elliott Sprehn 2007-05-12 00:16:14 PDT
If you load the Acid 2 test and decrease the font size by two (Apple+- twice) and then increase it again by two (Apple++ twice) the test does not return to the proper smiley but remains broken.

You can however increase the font size many times and then back to normal and it'll return to the proper size or you can decrease by only one and back up to normal and it'll render properly.

Slightly different broken rendering when changing the font size back to normal after going down twice in Safari and the Webkit nightly as well.

Reproducible in Safari 2 and the latest nightly. (Fri May 11 22:54:47 GMT 2007, r21420).
Comment 1 Robert Blaut 2008-02-11 04:49:57 PST
Based on a note: "Note: When taking the test, you should use the default settings of the browser you are testing. Changing the zoom level, minimum font size, applying a fit-to-width algorithm, or making other changes may alter the rendition of the Acid2 page without this constituting a failure in compliance. (Added 21 July 2006)" from http://www.webstandards.org/action/acid2/guide/ the bug report is invalid.

After checking the issue I only notice the smile is rendered to low then the previous position. This is a scrolling issue.
Comment 2 Elliott Sprehn 2008-02-11 11:22:27 PST
(In reply to comment #1)
> Based on a note: "Note: When taking the test, you should use the default
> settings of the browser you are testing. Changing the zoom level, minimum font
> size, applying a fit-to-width algorithm, or making other changes may alter the
> rendition of the Acid2 page without this constituting a failure in compliance.
> (Added 21 July 2006)" from http://www.webstandards.org/action/acid2/guide/ the
> bug report is invalid.
> 
> After checking the issue I only notice the smile is rendered to low then the
> previous position. This is a scrolling issue.
> 

The issue isn't that the test doesn't render properly when the font size is changed, but that it doesn't return to being rendered properly. Which as you say is a scrolling issue where the page doesn't return to the same scroll position.

However, this behavior is contradictory to others, for instance Gecko, which always returns the scrolling position to the same place.

The bug is not compliance to the test, but that the scroll position isn't restored.
Comment 3 Robert Blaut 2008-02-11 11:32:32 PST
(In reply to comment #2) 
> The issue isn't that the test doesn't render properly when the font size is
> changed, but that it doesn't return to being rendered properly. Which as you
> say is a scrolling issue where the page doesn't return to the same scroll
> position.
> 
> However, this behavior is contradictory to others, for instance Gecko, which
> always returns the scrolling position to the same place.
> 

I've checked the Acid2 test in Minefield (Gecko) and Opera. Both browser doesn't return to correct postion after decreasing zoom level enough to to see "hair" of the yellow face split from the rest of the face. As I said above it isn't a bug.