{"json_modified": "2016-05-28T05:26:33.031312", "uuid": "328a02a0-bb05-4f6f-8c7c-d32285a609ef", "title": "DOM\u4e2d\u7684\u7a7a\u767d\u7b26", "url": "/zh-CN/docs/Web/Guide/API/DOM/Whitespace_in_the_DOM", "tags": [], "translations": [{"uuid": "98235934-bc7d-4b03-a067-9c677a208d71", "title": "DOM \u4e2d\u7684\u7a7a\u767d\u5b57\u5143", "url": "/zh-TW/docs/DOM_%E4%B8%AD%E7%9A%84%E7%A9%BA%E7%99%BD%E5%AD%97%E5%85%83", "tags": ["\u6240\u6709\u985e\u5225", "DOM"], "summary": "DOM \u88e1\u7684\u7a7a\u767d\u5b57\u5143\u6703\u8b93\u8655\u7406\u7bc0\u9ede\u7d50\u69cb\u6642\u589e\u52a0\u4e0d\u5c11\u9ebb\u7169\u3002Mozilla \u76f8\u95dc\u8edf\u9ad4\u4e2d\uff0c\u539f\u59cb\u6587\u4ef6\u88e1\u6240\u6709\u7a7a\u767d\u5b57\u5143\u90fd\u6703\u5728 DOM \u4e2d\u51fa\u73fe\uff08\u4e0d\u5305\u62ec\u6a19\u7c64\u5167\u542b\u7684\u7a7a\u767d\u5b57\u5143\uff09\u3002\u9019\u6a23\u7684\u8655\u7406\u65b9\u5f0f\u6709\u5176\u5fc5\u8981\uff0c\u4e00\u65b9\u9762\u7de8\u8f2f\u5668\u4e2d\u53ef\u9015\u884c\u6392\u5217\u6587\u5b57\u3001\u4e8c\u65b9\u9762 CSS \u88e1\u7684 white-space: pre
\u4e5f\u624d\u80fd\u767c\u63ee\u4f5c\u7528\u3002 \u5982\u6b64\u4e00\u4f86\u5c31\u8868\u793a\uff1a", "localization_tags": [], "locale": "zh-TW", "last_edit": "2013-05-18T19:55:57", "review_tags": []}, {"uuid": "ffcb8c6b-ea00-4a41-b9b9-f199ee920468", "title": "Whitespace in the DOM", "url": "/en-US/docs/Web/API/Document_Object_Model/Whitespace_in_the_DOM", "tags": ["DOM", "NeedsUpdate", "Intermediate"], "summary": "The presence of whitespace in the DOM can make manipulation of the content tree difficult in unforeseen ways. In Mozilla, all whitespace in the text content of the original document is represented in the DOM (this does not include whitespace within tags). (This is needed internally so that the editor can preserve formatting of documents and so that white-space: pre
in CSS will work.) This means that:", "localization_tags": [], "locale": "en-US", "last_edit": "2014-12-04T15:21:51", "review_tags": []}, {"uuid": "7915723b-06ef-4227-8ce6-49afefcc97cc", "title": "DOM \u4e2d\u306e\u7a7a\u767d\u6587\u5b57", "url": "/ja/docs/Web/Guide/DOM/Whitespace_in_the_DOM", "tags": ["DOM"], "summary": "DOM \u4e2d\u306b\u7a7a\u767d\u6587\u5b57\u304c\u5b58\u5728\u3059\u308b\u3068\u3001\u30b3\u30f3\u30c6\u30f3\u30c8\u30c4\u30ea\u30fc\u306e\u64cd\u4f5c\u304c\u4e88\u60f3\u5916\u306b\u56f0\u96e3\u306a\u3082\u306e\u3068\u306a\u308a\u307e\u3059\u3002 Mozilla \u3067\u306f\u3001\u5143\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u30c6\u30ad\u30b9\u30c8\u30b3\u30f3\u30c6\u30f3\u30c8\u4e2d\u306e\u7a7a\u767d\u6587\u5b57\u306f\u5168\u3066 DOM \u4e2d\u306b\u3082\u8868\u73fe\u3055\u308c\u307e\u3059(\u30bf\u30b0\u5185\u90e8\u306e\u7a7a\u767d\u6587\u5b57\u306f\u9664\u304f)\u3002(\u3053\u308c\u306f\u30a8\u30c7\u30a3\u30bf\u304c\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u4f53\u88c1\u3092\u4fdd\u5b58\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u308a CSS \u306e white-space: pre
\u304c\u6a5f\u80fd\u3059\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306b\u5185\u90e8\u7684\u306b\u5fc5\u8981\u3067\u3059\u3002) \u3053\u308c\u304c\u610f\u5473\u3059\u308b\u306e\u306f:", "localization_tags": [], "locale": "ja", "last_edit": "2013-05-18T19:53:06", "review_tags": []}, {"uuid": "f5d0b52e-eac0-412e-b2fa-7beab170d8e5", "title": "Gestion des espaces dans le DOM", "url": "/fr/docs/Gestion_des_espaces_dans_le_DOM", "tags": ["DOM"], "summary": "La pr\u00e9sence d'espaces et de blancs dans le DOM peut rendre la manipulation de l'arbre de contenu difficile dans des aspects qu'on ne pr\u00e9voit pas forc\u00e9ment. Dans Mozilla, tous les espaces et blancs dans le contenu texte du document original sont repr\u00e9sent\u00e9s dans le DOM (cela ne concerne pas les blancs \u00e0 l'int\u00e9rieur des balises). (C'est n\u00e9cessaire en interne afin que l'\u00e9diteur puisse conserver le formatage des documents et que l'instruction white-space: pre
en CSS fonctionne.) Cela signifie que\u00a0:", "localization_tags": [], "locale": "fr", "last_edit": "2013-05-18T19:55:15", "review_tags": []}], "modified": "2016-05-28T05:26:31", "label": "DOM\u4e2d\u7684\u7a7a\u767d\u7b26", "localization_tags": [], "locale": "zh-CN", "id": 78927, "last_edit": "2016-05-28T05:26:31", "summary": "DOM \u4e2d\u7684\u7a7a\u767d\u7b26\u4f1a\u8ba9\u5904\u7406\u8282\u70b9\u7ed3\u6784\u65f6\u589e\u52a0\u4e0d\u5c11\u9ebb\u70e6\u3002\u5728Mozilla \u7684\u8f6f\u4ef6\u4e2d\uff0c\u539f\u59cb\u6587\u4ef6\u91cc\u6240\u6709\u7a7a\u767d\u7b26\u90fd\u4f1a\u5728 DOM \u4e2d\u51fa\u73b0\uff08\u4e0d\u5305\u62ec\u6807\u7b7e\u5185\u542b\u7684\u7a7a\u767d\u7b26\uff09\u3002\u8fd9\u6837\u7684\u5904\u7406\u65b9\u5f0f\u6709\u5176\u5fc5\u8981\u4e4b\u5904\uff0c\u4e00\u65b9\u9762\u7f16\u8f91\u5668\u4e2d\u53ef\u8ff3\u884c\u6392\u5217\u6587\u5b57\u3001\u4e8c\u65b9\u9762 CSS \u91cc\u7684 white-space: pre
\u4e5f\u624d\u80fd\u53d1\u6325\u4f5c\u7528\u3002 \u5982\u6b64\u4e00\u6765\u5c31\u8868\u793a\uff1a", "sections": [{"id": ".E5.95.8F.E9.A1.8C.E8.AA.AA.E6.98.8E", "title": "\u95ee\u9898\u8bf4\u660e"}, {"id": ".E5.8A.A9.E4.BD.A0.E4.B8.80.E8.87.82.E4.B9.8B.E5.8A.9B", "title": "\u52a9\u4f60\u4e00\u81c2\u4e4b\u529b"}, {"id": "Example", "title": "\u793a\u4f8b"}, {"id": ".E5.8E.9F.E6.96.87.E8.B3.87.E8.A8.8A", "title": "\u539f\u6587\u8d44\u8baf"}], "slug": "Web/Guide/API/DOM/Whitespace_in_the_DOM", "review_tags": []}