Manual revert of r177859

Reason for revert: rebased test are failing on win7



git-svn-id: svn://svn.chromium.org/blink/trunk@177869 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Repaint issues with vertical text which has absolute (or fixed) position specified for it.

For a writing mode root editable box which is absolute (or fixed) positioned
and which contains vertically aligned text within, trying to either insert
a paragraph in-between the text or trying to select part of the text does
not visually manifest the expected behavior.
An extra repaint is required to demonstrate the expected behavior.

This occurs because the repaint rect being computed in case of absolutely or
fixed positioned writing mode editable roots is not flipping the rect as per
the writing mode.

Removed the extra condition check for writing mode root box that flipped the
computed rect (based on the writing mode) only if the renderer was not absolute (or fixed) positioned.

R=leviw@chromium.org,eseidel@chromium.org,ojan@chromium.org
BUG=259352, 230580

Review URL: https://codereview.chromium.org/18254006

git-svn-id: svn://svn.chromium.org/blink/trunk@177870 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert 177833 "WebGL: Refactor active context management."

New assertion is triggered in debug builds running conformance/context
WebGL conformance tests. See Issue 392274.

> WebGL: Refactor active context management.
> 
> This CL makes WebGL lost&retore code more succinct.
> 
> 1. Deactive a context in loseContextImpl(), instead of dispatchContextLostEvent().
> Because of
> a) Prevent inconsistent state. Currently, activeContext() vector can store a lost
> context due to this, so oldestContextIndex() needs to check if active context is
> lost. Now we don't need redundant lostContext check. In addition, it does not
> make sense that active context list can store a lost context.
> b) In the same sense, only maybeRestoreContext() actives a context like loseContextImpl()
> in this CL.
> 
> 2. Don't call activeContexts().remove() adhoc.
> Only deactiveContext() calls activeContexts().remove() like only activeContext()
> calls activeContexts().append().
> 
> 3. Change the logic of dispatchContextLostEvent().
> Currently, when m_contextLostMode != RealLostContext, a context is added to
> forcibly evicted list, in which the context will be restored when another
> context is destructed. However, we start the restore-timer when
> the context is lost due to AutoRecoverSyntheticLostContext also. It means
> AutoRecoverSyntheticLostContext can restore twice. So this CL changes a context
> to be added into forcibly evicted list only if SyntheticLostContext.
> 
> BUG=392274
> 
> Review URL: https://codereview.chromium.org/251373005

TBR=dongseong.hwang@intel.com

Review URL: https://codereview.chromium.org/382893002

git-svn-id: svn://svn.chromium.org/blink/trunk@177871 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Content is cropped and shifts to the left in RTL iFrames with scrollbars

Patch revert "Place inner frame scrollbars on the left side,
if indicated by the frame-level" or r169180 [1], that has caused
layout problems on overflown RTL contents.

Patch marks the existing affected tests as NeedsManualRebaseline
in order to get results for all platforms from the bots, and perform
rebaselines accordingly. Once this is done, idea is to re-mark them
as flaky.

[1] https://codereview.chromium.org/150733002

TBR=a1.gomes@sisa.samsung.com
BUG=353111

Review URL: https://codereview.chromium.org/384763002

git-svn-id: svn://svn.chromium.org/blink/trunk@177872 bbb929c8-8fbe-4397-9dbb-9b2b20218538