Skip to content

Commit

Permalink
Merge pull request #199 from svenvvv/master
Browse files Browse the repository at this point in the history
Fix typo in conditional potentially causing incorrect results
  • Loading branch information
mikke89 authored Jun 27, 2021
2 parents 1ac9de6 + 1c01ac3 commit f40ea52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/LayoutBlockBox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ LayoutBlockBox::CloseResult LayoutBlockBox::Close()

if (found_baseline)
{
if (baseline < 0 && (overflow_x_property != Style::Overflow::Visible || overflow_x_property != Style::Overflow::Visible))
if (baseline < 0 && (overflow_x_property != Style::Overflow::Visible || overflow_y_property != Style::Overflow::Visible))
{
baseline = 0;
}
Expand Down

0 comments on commit f40ea52

Please sign in to comment.