Skip to content
  • tony@chromium.org's avatar
    Replace RenderMeter::updateLogicalHeight to RenderMeter::computeLogicalHeight · 845cf6e1
    tony@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=97475
    
    Reviewed by Ojan Vafai.
    
    Using RenderMeter::computeLogicalHeight is part of bug 96804.
    Also fix some code to be vertical writing mode aware. This doesn't actually cause
    a behavioral difference because we use percentage heights/widths which don't depend on
    updateLogicalWidth or computeLogicalHeight.  You can still see bugs if you try to set
    the min-width on a <meter> node in a vertical writing mode.
    
    No new tests, no behavioral changes.
    
    * rendering/RenderMeter.cpp:
    (WebCore::RenderMeter::updateLogicalWidth): Make vertical writing mode aware.
    (WebCore::RenderMeter::computeLogicalHeight): Switch from updateLogicalHeight and make vertical writing mode aware.
    * rendering/RenderMeter.h:
    (RenderMeter):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129409 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    845cf6e1