Skip to content

Commit

Permalink
* 修复object-fit: contain; 没起作用的问题(京驴儿)
Browse files Browse the repository at this point in the history
  • Loading branch information
weolar committed Jan 26, 2020
1 parent e9f5f63 commit 15ed3a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/WebKit/Source/core/layout/LayoutReplaced.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ LayoutRect LayoutReplaced::replacedContentRect(const LayoutSize* overriddenIntri

#ifndef MINIBLINK_NO_CHANGE
String layoutName = name();
if (wke::g_wkeMediaPlayerFactory && layoutName == "LayoutImage")
if (wke::g_wkeMediaPlayerFactory && layoutName == "LayoutVideo")
objectFit = ObjectFitFill;
#endif

Expand Down

0 comments on commit 15ed3a5

Please sign in to comment.