您的位置:首页 > 游戏 > 游戏 > 应用公园下载_b2b网站名称和网址有哪些_前端seo主要优化哪些_做网站的步骤

应用公园下载_b2b网站名称和网址有哪些_前端seo主要优化哪些_做网站的步骤

2024/11/17 16:48:52 来源:https://blog.csdn.net/jangdong/article/details/143269480  浏览:    关键词:应用公园下载_b2b网站名称和网址有哪些_前端seo主要优化哪些_做网站的步骤
应用公园下载_b2b网站名称和网址有哪些_前端seo主要优化哪些_做网站的步骤

一、密码字段:

密码字段通过标签 <input type="password"> 来定义:

<form>
Password: <input type="password" name="pwd">
</form>

二、password 对应c++定义:

third_party\blink\renderer\core\html\forms\password_input_type.h

third_party\blink\renderer\core\html\forms\password_input_type.cc

namespace blink {class KeyboardEvent;class PasswordInputType final : public BaseTextInputType {public:explicit PasswordInputType(HTMLInputElement& element): BaseTextInputType(Type::kPassword, element) {}private:void CountUsage() override;bool ShouldSaveAndRestoreFormControlState() const override;FormControlState SaveFormControlState() const override;void RestoreFormControlState(const FormControlState&) override;bool ShouldRespectListAttribute() override;bool NeedsContainer() const override;void CreateShadowSubtree() override;void UpdateView() override;void CapsLockStateMayHaveChanged() override;bool ShouldDrawCapsLockIndicator() const override;void UpdatePasswordRevealButton();void UpdateStrongPasswordLabel();void DidSetValueByUserEdit() override;void DidSetValue(const String&, bool value_changed) override;void ForwardEvent(Event& event) override;void HandleKeydownEvent(KeyboardEvent&) override;void HandleBeforeTextInsertedEvent(BeforeTextInsertedEvent&) override;void HandleBlurEvent() override;bool SupportsInputModeAttribute() const override;bool IsAutoDirectionalityFormAssociated() const override;bool should_draw_caps_lock_indicator_ = false;bool should_show_reveal_button_ = false;
};template <>
struct DowncastTraits<PasswordInputType> {static bool AllowFrom(const InputType& type) {return type.IsPasswordInputType();}
};}  // namespace blink

三、堆栈:

 

 

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com