merge in klp-release history after reset to klp-dev
diff --git a/Source/core/rendering/FixedTableLayout.cpp b/Source/core/rendering/FixedTableLayout.cpp
index 74061f7..83fe0db 100644
--- a/Source/core/rendering/FixedTableLayout.cpp
+++ b/Source/core/rendering/FixedTableLayout.cpp
@@ -171,7 +171,7 @@
         // dirty bit on the cell so that we'll correctly mark its ancestors dirty
         // in case we later call setPreferredLogicalWidthsDirty(true) on it later.
         if (cell->preferredLogicalWidthsDirty())
-            cell->setPreferredLogicalWidthsDirty(false);
+            (void) cell->minPreferredLogicalWidth();
     }
 
     return usedWidth;
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index 0750b8a..c1546ba 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -3061,7 +3061,7 @@
     ViewportArguments adjustedArguments = arguments;
     if (settingsImpl()->viewportMetaLayoutSizeQuirk() && adjustedArguments.type == ViewportArguments::ViewportMeta) {
         adjustedArguments.type = ViewportArguments::ViewportMetaLayoutSizeQuirk;
-        if (adjustedArguments.width >= 0 && adjustedArguments.width <= m_size.width)
+        if (adjustedArguments.width >= 0 && adjustedArguments.width <= 320)
             adjustedArguments.width = ViewportArguments::ValueDeviceWidth;
         if (adjustedArguments.height >= 0 && adjustedArguments.width <= m_size.height)
             adjustedArguments.height = ViewportArguments::ValueDeviceHeight;