Home | History | Annotate | Download | only in js

Lines Matching refs:SUMMARY

524 function Kf(){Kf=Gu;wf=new Lf('INSIDE_EDITABLE_AREA',0);Hf=new Lf('ROLE_TABLE',1);Gf=new Lf('ROLE_DESCENDANT',2);sf=new Lf('DATATABLE_0',3);qf=new Lf('CAPTION_THEAD_TFOOT_COLGROUP_COL_TH',4);pf=new Lf('ABBR_HEADERS_SCOPE',5);Ff=new Lf('ONLY_HAS_ABBR',6);Bf=new Lf('MORE_95_PERCENT_DOC_WIDTH',7);If=new Lf('SUMMARY',8);Ef=new Lf('NESTED_TABLE',9);zf=new Lf('LESS_EQ_1_ROW',10);yf=new Lf('LESS_EQ_1_COL',11);Df=new Lf('MORE_EQ_5_COLS',12);rf=new Lf('CELLS_HAVE_BORDER',13);uf=new Lf('DIFFERENTLY_COLORED_ROWS',14);Cf=new Lf('MORE_EQ_20_ROWS',15);xf=new Lf('LESS_EQ_10_CELLS',16);vf=new Lf('EMBED_OBJECT_APPLET_IFRAME',17);Af=new Lf('MORE_90_PERCENT_DOC_HEIGHT',18);tf=new Lf('DEFAULT',19);Jf=new Lf('UNKNOWN',20);of=ki(Uk,Ou,16,[wf,Hf,Gf,sf,qf,pf,Ff,Bf,If,Ef,zf,yf,Df,rf,uf,Cf,xf,vf,Af,tf,Jf])}
530 function mf(a){gf();var b,c,d,e,f,g,h,i,j,k,l,m,n,o,q,r,s,t,u,v,w;Kf();r=ci(a);while(r){if(Cp('INPUT',r.tagName)||Dp(r.getAttribute('contenteditable')||$u,yv)){return lf(wf,$u,(Rf(),Qf))}r=ci(r)}v=(a.getAttribute(Kw)||$u).toLowerCase();if(Cp(v,'presentation')){return lf(Hf,Lw+v,(Rf(),Qf))}if(Ft(df,v)||Ft(bf,v)){return lf(Hf,Lw+v,(Rf(),Pf))}h=hf(a);for(n=new sr(h);n.c<n.e.W();){m=ui(qr(n));t=(m.getAttribute(Kw)||$u).toLowerCase();if(Ft(cf,t)||Ft(bf,t)){return lf(Gf,Lw+t,(Rf(),Pf))}}if(Cp(a.getAttribute('datatable')||$u,'0')){return lf(sf,$u,(Rf(),Qf))}if(a.getElementsByTagName(wv).length>0)return lf(Ef,$u,(Rf(),Qf));u=a.rows;if(u.length<=1)return lf(zf,$u,(Rf(),Qf));g=jf(u);if(!g||g.length<=1){return lf(yf,$u,(Rf(),Qf))}d=a.caption;if(!!d&&!!hb(d).length||!!a.tHead||!!a.tFoot||kf(h,ef)){return lf(qf,$u,(Rf(),Pf))}i=new qs;for(n=new sr(h);n.c<n.e.W();){m=ui(qr(n));Cp('TD',m.tagName)&&(li(i.b,i.c++,m),true)}for(n=new sr(i);n.c<n.e.W();){m=ui(qr(n));if(m.hasAttribute('abbr')||m.hasAttribute('headers')||m.hasAttribute('scope')){return lf(pf,$u,(Rf(),Pf))}e=m.getElementsByTagName(pv);if(e.length==1&&Cp('ABBR',e[0].tagName)){return lf(Ff,$u,(Rf(),Pf))}}j=a.ownerDocument.documentElement;l=j.offsetWidth||0;if(l>0&&(a.offsetWidth||0)>0.95*l){w=false;b=j.getElementsByTagName(Bv);for(o=0;o<b.length&&!w;++o){q=b[o];w=Dp(q.name,'viewport')}if(!w){return lf(Bf,$u,(Rf(),Qf))}}if(a.hasAttribute('summary'))return lf(If,$u,(Rf(),Pf));if(g.length>=5)return lf(Df,$u,(Rf(),Pf));for(n=new sr(i);n.c<n.e.W();){m=ui(qr(n));c=getComputedStyle(m,null)['borderStyle'];if(!!c.length&&!Cp(c,mv)&&!Cp(c,ov)){return lf(rf,Lw+c,(Rf(),Pf))}}s=null;for(o=0;o<u.length;++o){f=getComputedStyle(u[o],null)['backgroundColor'];if(s==null){s=f;continue}if(!Dp(s,f)){return lf(uf,$u,(Rf(),Pf))}}if(u.length>=20)return lf(Cf,$u,(Rf(),Pf));if(i.c<=10)return lf(xf,$u,(Rf(),Qf));if(kf(h,ff)){return lf(vf,$u,(Rf(),Qf))}k=j.offsetHeight||0;if(k>0&&(a.offsetHeight||0)>0.9*k){return lf(Af,$u,(Rf(),Qf))}return lf(tf,$u,(Rf(),Pf))}