[3603191] REGRESSION: Applets not receiving all of the Applet Parameters in Java...
[WebKit-https.git] / WebCore / khtml / html / htmlparser.cpp
index 99196e5932342b67560e6c86ec17aa8feb19766e..725b8b2fe269575399daaf25ee57d5a7790380c9 100644 (file)
@@ -981,6 +981,11 @@ void KHTMLParser::processCloseTag(Token *t)
     case ID_SELECT+ID_CLOSE_TAG:
         inSelect = false;
         break;
+    case ID_APPLET+ID_CLOSE_TAG:
+        // Applets can't be laid out till the entire tag is parsed, because the contents of all of
+        // the embedded <param> tags have to be passed to Java at once. [3603191]
+        static_cast<HTMLAppletElementImpl*>(current)->setAllParamsAvailable();
+        break;
     default:
         break;
     }